Open sandboxFocus
  • TOC

Metalama Documentation

Getting started

Video tutorials

Conceptual documentation

Commented examples

API documentation

Aspect API

Extensions API

Patterns API

Flashtrace API

Introspection API

Advanced API

Metalama.​Compiler

Metalama.​Compiler.​Services

Metalama.​Framework.​Engine

Metalama.​Framework.​Engine.​Aspect­Weavers

Metalama.​Framework.​Engine.​Code­Fixes

Metalama.​Framework.​Engine.​Code­Model

Metalama.​Framework.​Engine.​Collections

Metalama.​Framework.​Engine.​Diagnostics

Metalama.​Framework.​Engine.​Formatting

Metalama.​Framework.​Engine.​Metrics

Metalama.​Framework.​Engine.​Services

Metalama.​Framework.​Engine.​Utilities

Metalama.​Framework.​Engine.​Utilities.​Roslyn

Metalama.​Testing.​Aspect­Testing

Aspect­Test­Class

Aspect­Test­Framework

Current­Directory­Attribute3

Current­Project­Attribute3

Default­Aspect­Test­Class2

File­Extensions

Invalid­Test­Option­Exception2

Invalid­Test­Target­Exception2

Test­Assembly­Reference

Test­Directory­Options2

Test­Live­Template­Attribute2

Test­Options

Test­Output­Normalizer

Test­Runner­Options2

Test­Scenario

Test­Syntax­Tree

Test­Syntax­Tree­Kind

Metalama.​Testing.​Unit­Testing

Post­Sharp API migration

  • Article

Property LanguageVersion

LanguageVersion

Gets or sets the version of the C# language that the test should be compiled with. To set this option in a test, add this comment to your test file: // @LanguageVersion(version).

Declaration
public LanguageVersion? LanguageVersion { get; set; }
Property Value
Type Description
LanguageVersion?
  • Navigation