56 references to WRN_NoRuntimeMetadataVersion
Microsoft.CodeAnalysis.CSharp (4)
Compilation\CSharpCompilation.cs (1)
3830runtimeMDVersionDiagnostics.Add(ErrorCode.WRN_NoRuntimeMetadataVersion, NoLocation.Singleton);
Errors\ErrorFacts.cs (2)
329case ErrorCode.WRN_NoRuntimeMetadataVersion: 1674or ErrorCode.WRN_NoRuntimeMetadataVersion
Generated\ErrorFacts.Generated.cs (1)
168case ErrorCode.WRN_NoRuntimeMetadataVersion:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (20)
CodeGen\CodeGenAsyncMainTests.cs (2)
384Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1), 424Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1),
CodeGen\CodeGenAsyncTests.cs (1)
4995Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1),
CodeGen\CodeGenExprLambdaTests.cs (3)
5038Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion), 5100Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1), 5173Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1),
CodeGen\CodeGenIterators.cs (3)
2399Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1)); 2443Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1), 2526Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1));
CodeGen\CodeGenMscorlib.cs (1)
225Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion),
CodeGen\CodeGenTests.cs (4)
10517Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion)); 14571Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1), 14605Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion), 14641Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion),
CodeGen\PatternTests.cs (5)
103Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1) 126Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion) 156Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1), 204Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1), 3323Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1),
Emit\EmitMetadataTests.cs (1)
3618Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (9)
Attributes\AttributeTests_Nullable.cs (1)
33Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1)
Semantics\CollectionExpressionTests.cs (6)
4976Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1), 5040Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1), 5088Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1), 5933Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1), 6011Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1), 19982Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1),
Semantics\ParamsCollectionTests.cs (2)
16808Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1) 16973Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (11)
Semantics\DelegateTypeTests.cs (4)
4688Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1), 4724Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1), 4760Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1), 4793Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1),
Semantics\ForEachTests.cs (1)
2291Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1),
Semantics\NullableReferenceTypesTests.cs (1)
116732Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1),
Semantics\RecordStructTests.cs (2)
4587Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1) 4864Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1),
Semantics\ScriptSemanticsTests.cs (1)
146Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1),
Semantics\TopLevelStatementsTests.cs (1)
7447Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1),
Semantics\UseSiteErrorTests.cs (1)
2378Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (11)
Compilation\CompilationAPITests.cs (1)
277Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1),
Compilation\UsedAssembliesTests.cs (3)
111CompileAndVerify(comp2, verify: Verification.Skipped).Diagnostics.Where(d => d.Code != (int)ErrorCode.WRN_NoRuntimeMetadataVersion).Verify(after); 121CompileAndVerify(comp3, verify: Verification.Skipped).Diagnostics.Where(d => d.Code != (int)ErrorCode.WRN_NoRuntimeMetadataVersion).Verify(after); 382Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1)
Symbols\CorLibrary\CorTypes.cs (4)
400Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1), 585Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1), 869Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1), 1063Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1),
Symbols\MissingSpecialMember.cs (2)
489Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1) 515Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1)
Symbols\SymbolErrorTests.cs (1)
19137var netModule = CreateEmptyCompilation("", options: TestOptions.ReleaseModule, assemblyName: "lib").EmitToImageReference(expectedWarnings: new[] { Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion) });
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
333case ErrorCode.WRN_NoRuntimeMetadataVersion: