43 references to WRN_NoRuntimeMetadataVersion
Microsoft.CodeAnalysis.CSharp (4)
Compilation\CSharpCompilation.cs (1)
3469runtimeMDVersionDiagnostics.Add(ErrorCode.WRN_NoRuntimeMetadataVersion, NoLocation.Singleton);
Errors\ErrorFacts.cs (2)
316case ErrorCode.WRN_NoRuntimeMetadataVersion: 1613case ErrorCode.WRN_NoRuntimeMetadataVersion:
Generated\ErrorFacts.Generated.cs (1)
168case ErrorCode.WRN_NoRuntimeMetadataVersion:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (19)
CodeGen\CodeGenAsyncMainTests.cs (2)
384Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1), 424Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1),
CodeGen\CodeGenAsyncTests.cs (1)
4991Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1),
CodeGen\CodeGenExprLambdaTests.cs (3)
5310Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion), 5372Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1), 5445Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1),
CodeGen\CodeGenIterators.cs (3)
2395Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1)); 2439Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1), 2522Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1));
CodeGen\CodeGenMscorlib.cs (1)
225Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion),
CodeGen\CodeGenTests.cs (4)
10522Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion)); 14554Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1), 14588Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion), 14624Diagnostic(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),
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Attributes\AttributeTests_Nullable.cs (1)
33Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (11)
Semantics\DelegateTypeTests.cs (4)
2804Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1), 2840Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1), 2876Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1), 2909Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1),
Semantics\ForEachTests.cs (1)
2290Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1),
Semantics\NullableReferenceTypesTests.cs (1)
112962Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1),
Semantics\RecordStructTests.cs (2)
4485Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1) 4762Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1),
Semantics\ScriptSemanticsTests.cs (1)
146Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1),
Semantics\TopLevelStatementsTests.cs (1)
7434Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1),
Semantics\UseSiteErrorTests.cs (1)
2368Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (7)
Compilation\CompilationAPITests.cs (1)
279Diagnostic(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\MissingSpecialMember.cs (2)
489Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1) 515Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion).WithLocation(1, 1)
Symbols\SymbolErrorTests.cs (1)
18992var netModule = CreateEmptyCompilation("", options: TestOptions.ReleaseModule, assemblyName: "lib").EmitToImageReference(expectedWarnings: new[] { Diagnostic(ErrorCode.WRN_NoRuntimeMetadataVersion) });
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
311case ErrorCode.WRN_NoRuntimeMetadataVersion: