377 references to ERR_NoTypeDef
Microsoft.CodeAnalysis.CSharp (3)
Compilation\CSharpCompilation.cs (1)
2079
=> code == (int)ErrorCode.
ERR_NoTypeDef
;
Errors\ErrorFacts.cs (1)
589
case ErrorCode.
ERR_NoTypeDef
:
Symbols\MissingMetadataTypeSymbol.cs (1)
79
return new CSDiagnosticInfo(ErrorCode.
ERR_NoTypeDef
, this, containingAssembly.Identity);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (27)
CodeGen\CodeGenDeconstructTests.cs (2)
8465
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "new C().M").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 18)
8494
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "new C().M").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 18)
CodeGen\CodeGenNullCoalescingAssignmentTests.cs (1)
2687
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "c ??= new B()").WithArguments("A", $"{aRef.Display}, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 9),
CodeGen\CodeGenOverridingAndHiding.cs (2)
4371
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "B").WithArguments("A", "A, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(1, 21)
4391
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "D").WithArguments("A", "A, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
CodeGen\CodeGenTupleTest.cs (21)
3773
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C.GetTuple").WithArguments("Missing", "UseSiteDiagnosticOnTupleField_missingComp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
3776
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Item1").WithArguments("Missing", "UseSiteDiagnosticOnTupleField_missingComp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")
3785
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C.GetTuple").WithArguments("Missing", "UseSiteDiagnosticOnTupleField_missingComp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
3788
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Item1").WithArguments("Missing", "UseSiteDiagnosticOnTupleField_missingComp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")
22310
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "A.M").WithArguments("(, )", "System.ValueTuple, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51").WithLocation(4, 24)
22350
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "A.M").WithArguments("(, )", "System.ValueTuple, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51").WithLocation(4, 24)
23184
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "(int, int)").WithArguments("System.ValueType", "System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a").WithLocation(3, 6),
23187
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "(int, int)").WithArguments("System.ValueType", "System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a").WithLocation(3, 18),
23190
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "((int, int), (int, int))").WithArguments("System.ValueType", "System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a").WithLocation(3, 5));
23233
Diagnostic(ErrorCode.
ERR_NoTypeDef
).WithArguments("B", "92872377-08d1-4723-8906-a43b03e56ed3, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(1, 1),
23235
Diagnostic(ErrorCode.
ERR_NoTypeDef
).WithArguments("B", "92872377-08d1-4723-8906-a43b03e56ed3, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(1, 1),
23237
Diagnostic(ErrorCode.
ERR_NoTypeDef
).WithArguments("A", "92872377-08d1-4723-8906-a43b03e56ed3, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(1, 1),
23239
Diagnostic(ErrorCode.
ERR_NoTypeDef
).WithArguments("A", "92872377-08d1-4723-8906-a43b03e56ed3, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(1, 1));
23966
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "(1, 2)").WithArguments("System.ValueType", "System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a").WithLocation(6, 17)
24022
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "(int, int)").WithArguments("System.ValueType", "System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a").WithLocation(7, 24),
24025
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "(1, 2)").WithArguments("System.ValueType", "System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a").WithLocation(9, 22)
26700
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "ToString").WithArguments("A<>", "A, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(6, 11));
26758
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "collectionA").WithArguments("(, )", "vt, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 27),
26761
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "collectionA").WithArguments("(, )", "vt, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 27)
26840
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "collectionA").WithArguments("System.ValueTuple<,,,,,,,>", "vt, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 27),
26843
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "collectionA").WithArguments("System.ValueTuple<,,,,,,,>", "vt, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 27)
CodeGen\UnsafeTests.cs (1)
5304
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "new Fixable(1)").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(6, 26),
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (38)
Attributes\AttributeTests_NativeInteger.cs (2)
861
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "F1").WithArguments("B<>", "95d36b13-f2e1-495d-9ab6-62e8cc63ac22, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(6, 15),
864
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "F2").WithArguments("A", "95d36b13-f2e1-495d-9ab6-62e8cc63ac22, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 15));
Attributes\AttributeTests_Tuples.cs (4)
188
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "(int x, int y)").WithArguments("System.ValueType", "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089").WithLocation(6, 11),
191
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "(0, 0)").WithArguments("System.ValueType", "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089").WithLocation(7, 11)
226
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "(int x, int y)").WithArguments("System.ValueType", "System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a").WithLocation(4, 12),
229
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "(0, 0)").WithArguments("System.ValueType", "System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a").WithLocation(4, 34)
Emit\NumericIntPtrTests.cs (1)
10922
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Base").WithArguments("System.Object", "System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a").WithLocation(1, 24)
Semantics\PatternMatchingTests_ListPatterns.cs (31)
3289
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "[var item]").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(6, 18),
3292
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "[var item]").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(6, 18),
3295
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "[..var rest]").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 18),
3298
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "[..var rest]").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 18),
3301
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "..var rest").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 19),
3304
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "..var rest").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 19),
3307
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "c[^1]").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(8, 21),
3310
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "c[^1]").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(8, 21),
3313
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "c[1..^1]").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(9, 21),
3316
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "c[1..^1]").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(9, 21)
3384
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "[var item]").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(4, 10),
3387
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "[..var slice]").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(4, 29),
3390
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "..var slice").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(4, 30),
3393
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "c[^1]").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(6, 17),
3396
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "c[..]").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 18)
3561
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "[var x]").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 16),
3564
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "[var x]").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 16),
3567
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "[.. var y]").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(3, 16),
3570
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "[.. var y]").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(3, 16),
3573
Diagnostic(ErrorCode.
ERR_NoTypeDef
, ".. var y").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(3, 17),
3576
Diagnostic(ErrorCode.
ERR_NoTypeDef
, ".. var y").WithArguments("Missing2", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(3, 17),
3579
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "new C().Slice").WithArguments("Missing2", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(4, 1),
3582
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "new C()[^1]").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(5, 5),
3585
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "new C()[^1]").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(5, 5),
3588
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "new C()[..]").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(6, 5),
3591
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "new C()[..]").WithArguments("Missing2", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(6, 5)
5381
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "[var item]").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(6, 18),
5384
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "[..var rest]").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 18),
5387
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "..var rest").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 19),
5390
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "c[^1]").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(8, 21),
5393
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "c[1..^1]").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(9, 21)
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (1)
EvaluationContext.cs (1)
477
case ErrorCode.
ERR_NoTypeDef
:
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler.UnitTests (9)
LocalsTests.cs (2)
2431
Diagnostic(ErrorCode.
ERR_NoTypeDef
).WithArguments("A", "Comp1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(1, 1)
2475
Diagnostic(ErrorCode.
ERR_NoTypeDef
).WithArguments("I", "Comp1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(1, 1)
MissingAssemblyTests.cs (7)
33
Assert.Same(identity, GetMissingAssemblyIdentity(ErrorCode.
ERR_NoTypeDef
, identity));
63
Assert.Equal(identity1, GetMissingAssemblyIdentity(ErrorCode.
ERR_NoTypeDef
, identity1, identity2));
64
Assert.Equal(identity2, GetMissingAssemblyIdentity(ErrorCode.
ERR_NoTypeDef
, identity2, identity1));
70
Assert.Null(GetMissingAssemblyIdentity(ErrorCode.
ERR_NoTypeDef
));
71
Assert.Null(GetMissingAssemblyIdentity(ErrorCode.
ERR_NoTypeDef
, "Not an assembly"));
657
diagnostics.Add(new CSDiagnostic(new CSDiagnosticInfo(ErrorCode.
ERR_NoTypeDef
, "MissingType", missingIdentity), Location.None));
704
diagnostics.Add(new CSDiagnostic(new CSDiagnosticInfo(ErrorCode.
ERR_NoTypeDef
, "MissingType", missingIdentity), Location.None));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (195)
Semantics\DeconstructionTests.cs (1)
1613
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "new C()").WithArguments("Missing", "libMissingComp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 18),
Semantics\ForEachTests.cs (1)
3443
Diagnostic(ErrorCode.
ERR_NoTypeDef
, @"foreach (var x in new Enumerable())
Semantics\ImplicitObjectCreationTests.cs (9)
4257
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "c.M").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(6, 9),
4260
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "c.M").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 9),
4263
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "c.M").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(8, 9)
4299
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(6, 13),
4302
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 13),
4305
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(8, 13),
4308
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "new(null)").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(9, 15)
4340
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C.M").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(6, 9)
4373
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "new(null)").WithArguments("Missing", "missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 11)
Semantics\NativeIntegerTests.cs (2)
1171
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "B").WithArguments("System.Object", "9ef8b1e0-1ae0-4af6-b9a1-00f2078f299e, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(1, 11));
1243
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "A").WithArguments("System.IntPtr", "c804cc09-8f73-44a1-9cfe-9567bed1def6, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(1, 11));
Semantics\NullableReferenceTypesTests.cs (9)
9501
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C").WithArguments("Base", "lib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(3, 20),
9504
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "D").WithArguments("Base", "lib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 2),
9507
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "D").WithArguments("Base", "lib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 2)
112933
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "A").WithArguments("System.ValueType", "mincorlib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=ce65828c82a341f2").WithLocation(4, 10),
112936
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "B").WithArguments("System.Enum", "mincorlib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=ce65828c82a341f2").WithLocation(4, 15),
112939
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "D").WithArguments("System.MulticastDelegate", "mincorlib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=ce65828c82a341f2").WithLocation(4, 25)
113001
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "A").WithArguments("System.ValueType", "mincorlib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=ce65828c82a341f2").WithLocation(4, 10),
113004
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "B").WithArguments("System.Enum", "mincorlib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=ce65828c82a341f2").WithLocation(4, 15),
113007
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "D").WithArguments("System.MulticastDelegate", "mincorlib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=ce65828c82a341f2").WithLocation(4, 25)
Semantics\RecordTests.cs (18)
4265
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "c1").WithArguments("A", "Clone_12, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 18)
4307
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "c1").WithArguments("B", "Clone_13, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 18),
4310
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "X").WithArguments("B", "Clone_13, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 28),
4323
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "c1").WithArguments("B", "Clone_13, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 18),
4326
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "X").WithArguments("B", "Clone_13, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 28),
4404
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C").WithArguments("A", "Clone_15, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 8),
4407
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "B").WithArguments("A", "Clone_15, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 19),
4410
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "B").WithArguments("A", "Clone_15, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 19),
4413
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C").WithArguments("A", "Clone_15, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(6, 22),
4416
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "c1").WithArguments("A", "Clone_15, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 18),
4419
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "System").WithArguments("A", "Clone_15, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(8, 9),
4422
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "System").WithArguments("A", "Clone_15, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(9, 9)
4470
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C").WithArguments("B", "Clone_16, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 19),
4476
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C").WithArguments("B", "Clone_16, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 19),
4479
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "D").WithArguments("B", "Clone_16, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(6, 22)
4495
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C").WithArguments("B", "Clone_16, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 19),
4501
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C").WithArguments("B", "Clone_16, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 19),
4504
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "D").WithArguments("B", "Clone_16, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(6, 22)
Semantics\RefFieldTests.cs (1)
1961
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "F").WithArguments("A", "A, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 29));
Semantics\UseSiteErrorTests.cs (154)
55
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "ReturnType1").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
58
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "ReturnType2").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
74
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "ReturnType1").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
77
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "ReturnType2").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
112
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "ParameterType1").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
115
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "ParameterType2").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
145
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceMethods").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11),
148
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceMethods").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11),
151
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceMethods").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11),
154
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceMethods").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11)
173
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "ReturnType1").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
176
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "ReturnType2").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
179
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "ParameterType1").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
182
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "ParameterType2").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
224
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceMethods").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11),
227
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceMethods").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11),
230
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceMethods").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11),
233
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceMethods").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11)
252
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "ReturnType1").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
255
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "ReturnType2").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
258
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "ParameterType1").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
261
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "ParameterType2").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
302
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Get1").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
305
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Get2").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
308
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Set1").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
311
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Set2").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
314
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "GetSet1").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
317
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "GetSet2").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
339
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Get1").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
342
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Get2").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
345
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Set1").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
348
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Set2").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
351
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "GetSet1").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
354
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "GetSet2").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
394
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceProperties").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11),
397
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceProperties").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11),
400
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceProperties").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11),
403
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceProperties").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11),
406
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceProperties").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11),
409
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceProperties").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11)
432
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "set").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
435
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "get").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
438
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "set").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
441
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "get").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
444
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "get").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
447
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "set").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
450
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "set").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
453
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "get").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
511
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceProperties").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11),
514
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceProperties").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11),
517
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceProperties").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11),
520
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceProperties").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11),
523
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceProperties").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11),
526
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceProperties").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11)
549
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "set").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
552
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "get").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
555
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "set").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
558
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "get").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
561
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "get").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
564
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "set").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
567
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "set").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
570
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "get").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
593
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "GetSet1").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(5, 11),
596
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "GetSet1").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(5, 23),
599
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "GetSet2").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(6, 11),
602
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "GetSet2").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(6, 23),
605
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "GetSet3").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 11),
608
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "GetSet3").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 23),
611
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "GetSet3").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(11, 9),
614
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "GetSet3").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(11, 19));
643
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Event1").WithArguments("UnavailableDelegate", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
646
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Event2").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
649
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Event3").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
676
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Event1").WithArguments("UnavailableDelegate", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
679
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Event2").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
682
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Event3").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
699
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Event1").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
714
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Event1").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
740
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceEvents").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11),
743
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceEvents").WithArguments("UnavailableDelegate", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11),
746
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceEvents").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11)
773
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceEvents").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11),
776
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceEvents").WithArguments("UnavailableDelegate", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11),
779
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceEvents").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11)
795
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Event1").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
798
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Event1").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
813
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "remove").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
816
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "add").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
851
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceEvents").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11),
854
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceEvents").WithArguments("UnavailableDelegate", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11),
857
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CSharpErrors.InterfaceEvents").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(2, 11)
873
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "remove").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
876
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "add").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
894
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Event1").WithArguments("UnavailableDelegate", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
897
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Event1").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
1000
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "del.Invoke").WithArguments("UnavailableClass<>", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 16),
1003
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "bar").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(13, 56),
1006
Diagnostic(ErrorCode.
ERR_NoTypeDef
, @"myDelegate1(""goo"")").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(14, 9),
1009
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "new CSharpErrors.DelegateReturnType1(myDelegate1)").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(15, 56),
1012
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "new CSharpErrors.DelegateReturnType1(bar)").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(16, 30),
1015
Diagnostic(ErrorCode.
ERR_NoTypeDef
, @"x => System.Console.WriteLine(""Hello World"")").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(17, 56),
1018
Diagnostic(ErrorCode.
ERR_NoTypeDef
, @"x => ""Hello World""").WithArguments("UnavailableClass", "Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(18, 68));
1056
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "A").WithArguments("System.Func<,>", "System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"));
1149
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "B").WithArguments("X", "X, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1152
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "B").WithArguments("X", "X, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
1260
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "string s").WithArguments("Base", "BaseAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(9, 18)
1656
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Constructor1").WithArguments("Missing", "Missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1659
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Constructor2").WithArguments("Missing", "Missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1663
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Methods.M1").WithArguments("Missing", "Missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1666
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Methods.M2").WithArguments("Missing", "Missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1670
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Methods.M1").WithArguments("Missing", "Missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1673
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Methods.M2").WithArguments("Missing", "Missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1677
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "new Indexer1()[1]").WithArguments("Missing", "Missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1680
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "new Indexer2()[2]").WithArguments("Missing", "Missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
1730
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "d.M").WithArguments("Missing", "Missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1733
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "d[1]").WithArguments("Missing", "Missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
1784
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C").WithArguments("Missing", "Missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1787
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "c.M").WithArguments("Missing", "Missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1790
Diagnostic(ErrorCode.
ERR_NoTypeDef
, @"c[""A""]").WithArguments("Missing", "Missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
1841
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C").WithArguments("Missing", "Missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1844
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "c.M").WithArguments("Missing", "Missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1847
Diagnostic(ErrorCode.
ERR_NoTypeDef
, @"c[""A"", null]").WithArguments("Missing", "Missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
1898
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C").WithArguments("Missing", "Missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1901
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "c.M").WithArguments("Missing", "Missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1904
Diagnostic(ErrorCode.
ERR_NoTypeDef
, @"c[null, ""A""]").WithArguments("Missing", "Missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
1941
var getMissingDiagnostic = Diagnostic(ErrorCode.
ERR_NoTypeDef
, @"C.GetMissing").WithArguments("Missing", "Missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null");
1942
var setMissingDiagnostic = Diagnostic(ErrorCode.
ERR_NoTypeDef
, @"C.SetMissing").WithArguments("Missing", "Missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null");
2209
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "e").WithArguments("GeneralException", "Base, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(9, 23),
2218
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "SpecificException").WithArguments("GeneralException", "Base, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(11, 20)
2339
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "A").WithArguments("System.ValueType", "mincorlib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=ce65828c82a341f2").WithLocation(4, 10),
2342
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "B").WithArguments("System.Enum", "mincorlib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=ce65828c82a341f2").WithLocation(4, 15),
2345
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "D").WithArguments("System.MulticastDelegate", "mincorlib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=ce65828c82a341f2").WithLocation(4, 25)
2384
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "A").WithArguments("System.ValueType", "mincorlib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=ce65828c82a341f2").WithLocation(4, 10),
2387
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "B").WithArguments("System.Enum", "mincorlib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=ce65828c82a341f2").WithLocation(4, 15),
2390
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "D").WithArguments("System.MulticastDelegate", "mincorlib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=ce65828c82a341f2").WithLocation(4, 25)
2433
Assert.True(diagnostics.Any(d => d.Code == (int)ErrorCode.
ERR_NoTypeDef
));
2437
if (diagnostic.Code == (int)ErrorCode.
ERR_NoTypeDef
)
2478
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "&s2").WithArguments("S1", "libS1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(6, 19),
2505
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "sizeof(S2)").WithArguments("S1", "libS1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(6, 20),
2530
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "ptr").WithArguments("S1", "libS1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(4, 23),
2557
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "S2*").WithArguments("S1", "libS1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(6, 9),
2563
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "S2").WithArguments("S1", "libS1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(6, 31),
2569
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "S2*").WithArguments("S1", "libS1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 9),
2575
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "stackalloc [] { default(S2) }").WithArguments("S1", "libS1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 21),
2604
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "S2*").WithArguments("S1", "libS1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 16),
2610
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "&s2").WithArguments("S1", "libS1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 26),
2616
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "&s2").WithArguments("S1", "libS1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 26),
2649
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "M").WithArguments("S1", "libS1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(8, 9),
2655
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "M").WithArguments("S1", "libS1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(9, 9));
2689
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "M").WithArguments("S1", "libS1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(13, 9),
2695
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "M").WithArguments("S1", "libS1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(14, 9));
2722
Diagnostic(ErrorCode.
ERR_NoTypeDef
).WithArguments("S1", "libS1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(1, 1),
2724
Diagnostic(ErrorCode.
ERR_NoTypeDef
).WithArguments("S1", "libS1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(1, 1));
2753
Diagnostic(ErrorCode.
ERR_NoTypeDef
).WithArguments("S1", "libS1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(1, 1)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (104)
BadSymbolReference.cs (60)
279
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C5").WithArguments("CL2_I1", "CL2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(140, 11),
282
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CL3_C1").WithArguments("CL2_C1", "CL2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(125, 16),
288
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "I2").WithArguments("CL2_I1", "CL2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(137, 15),
291
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C5").WithArguments("CL2_I1", "CL2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(140, 11),
294
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "I2").WithArguments("CL2_I1", "CL2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(137, 15),
306
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Test1").WithArguments("CL2_C1", "CL2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(27, 16),
309
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Test1").WithArguments("CL2_C1", "CL2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(32, 24),
318
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "x").WithArguments("CL2_C1", "CL2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(88, 22),
324
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CL3_C2.Test1").WithArguments("CL2_C1", "CL2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(151, 9),
327
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CL3_C2.Test1").WithArguments("CL2_C1", "CL2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(156, 9),
333
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CL3_C2.Test3").WithArguments("CL2_C1", "CL2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(161, 9),
339
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "CL3_C2.Test4").WithArguments("CL2_C1", "CL2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(171, 9),
345
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "y.Test1").WithArguments("CL2_C1", "CL2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(177, 9),
348
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Test2").WithArguments("CL2_C1", "CL2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(195, 23),
351
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "y.w(null)").WithArguments("CL2_C1", "CL2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(207, 9),
354
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "(uuu) => System.Console.WriteLine()").WithArguments("CL2_C1", "CL2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(212, 20),
810
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "D").WithArguments("System.Drawing.Point", "System.Drawing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
819
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "D").WithArguments("System.Drawing.Point", "System.Drawing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
944
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C12").WithArguments("ErrorTest.I3", "MissingTypeInTypeArgumentsOfImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
950
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C9").WithArguments("ErrorTest.I3", "MissingTypeInTypeArgumentsOfImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
956
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C11").WithArguments("ErrorTest.I3", "MissingTypeInTypeArgumentsOfImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
959
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C6").WithArguments("ErrorTest.I3", "MissingTypeInTypeArgumentsOfImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
965
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "x").WithArguments("ErrorTest.I3", "MissingTypeInTypeArgumentsOfImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
971
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "x").WithArguments("ErrorTest.I3", "MissingTypeInTypeArgumentsOfImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
977
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "x").WithArguments("ErrorTest.I3", "MissingTypeInTypeArgumentsOfImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
980
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "y4").WithArguments("ErrorTest.I3", "MissingTypeInTypeArgumentsOfImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
986
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "y5").WithArguments("ErrorTest.I3", "MissingTypeInTypeArgumentsOfImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
992
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "y3").WithArguments("ErrorTest.I3", "MissingTypeInTypeArgumentsOfImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
998
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "y").WithArguments("ErrorTest.I3", "MissingTypeInTypeArgumentsOfImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1160
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C8").WithArguments("ErrorTest.I2", "MissingImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1163
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C6").WithArguments("ErrorTest.I2", "MissingImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1175
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C10").WithArguments("ErrorTest.I2", "MissingImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1181
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C11").WithArguments("ErrorTest.I2", "MissingImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1187
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "x").WithArguments("ErrorTest.I2", "MissingImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1193
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "x").WithArguments("ErrorTest.I2", "MissingImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1196
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "c13").WithArguments("ErrorTest.C12", "MissingImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1202
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "y").WithArguments("ErrorTest.I2", "MissingImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1208
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "y3").WithArguments("ErrorTest.I2", "MissingImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1217
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "M1").WithArguments("ErrorTest.I2", "MissingImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1226
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "y4").WithArguments("ErrorTest.I2", "MissingImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1232
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "M1").WithArguments("ErrorTest.I2", "MissingImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1254
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C6").WithArguments("ErrorTest.I2", "MissingImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1257
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C8").WithArguments("ErrorTest.I2", "MissingImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1260
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "x").WithArguments("ErrorTest.I2", "MissingImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1263
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "x").WithArguments("ErrorTest.I2", "MissingImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1266
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C10").WithArguments("ErrorTest.I2", "MissingImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1269
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C11").WithArguments("ErrorTest.I2", "MissingImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1272
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "y").WithArguments("ErrorTest.I2", "MissingImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1275
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "c13").WithArguments("ErrorTest.C12", "MissingImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1281
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "y3").WithArguments("ErrorTest.I2", "MissingImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1287
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "y4").WithArguments("ErrorTest.I2", "MissingImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1290
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "M1").WithArguments("ErrorTest.I2", "MissingImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1293
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "M1").WithArguments("ErrorTest.I2", "MissingImplementedInterface2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1383
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C4").WithArguments("ErrorTest.C2", "MissingBaseClass2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1389
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C7").WithArguments("ErrorTest.C2", "MissingBaseClass2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1395
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "x").WithArguments("ErrorTest.C2", "MissingBaseClass2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1398
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "M1").WithArguments("ErrorTest.C2", "MissingBaseClass2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1404
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "y").WithArguments("ErrorTest.C2", "MissingBaseClass2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1410
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "y3").WithArguments("ErrorTest.C2", "MissingBaseClass2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
1416
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "M1").WithArguments("ErrorTest.C2", "MissingBaseClass2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
Compilation\ReferenceManagerTests.cs (3)
1897
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C").WithArguments("System.Object", "System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"));
2729
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C").WithArguments("D", "D, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
2757
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C").WithArguments("D", "B, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
Compilation\UsedAssembliesTests.cs (2)
1589
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "x.M1").WithArguments("C0", "MethodReference_05_0, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 9)
1776
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "new C2().M1").WithArguments("C0", "MethodReference_07_0, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 9)
Symbols\EnumTests.cs (3)
348
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "F").WithArguments("A", "UseSiteError_sourceA, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(5, 31)
392
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "F").WithArguments("A", "UseSiteError_sourceA, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(5, 20)
399
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "F").WithArguments("A", "UseSiteError_sourceA, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(5, 20)
Symbols\GenericConstraintTests.cs (29)
2872
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "a").WithArguments("C", "other, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(3, 29),
2878
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "M<string>").WithArguments("C", "other, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(6, 11));
2967
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "T1A").WithArguments("IA", "d521fe98-c881-45cf-0788-249e00d004ea, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(3, 17),
2970
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "U2A").WithArguments("A", "d521fe98-c881-45cf-0788-249e00d004ea, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 22),
2973
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "T3A").WithArguments("IA", "d521fe98-c881-45cf-0788-249e00d004ea, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(11, 17),
2976
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "U3A").WithArguments("A", "d521fe98-c881-45cf-0788-249e00d004ea, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(11, 22),
2979
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "T1B").WithArguments("IA", "d521fe98-c881-45cf-0788-249e00d004ea, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(15, 29),
2982
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "U2B").WithArguments("A", "d521fe98-c881-45cf-0788-249e00d004ea, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(19, 34),
2985
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "T3B").WithArguments("IA", "d521fe98-c881-45cf-0788-249e00d004ea, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(23, 29),
2988
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "U3B").WithArguments("A", "d521fe98-c881-45cf-0788-249e00d004ea, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(23, 34),
2991
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "B5").WithArguments("A", "d521fe98-c881-45cf-0788-249e00d004ea, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(25, 13),
2994
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "T4B").WithArguments("A", "d521fe98-c881-45cf-0788-249e00d004ea, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(27, 29),
2997
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "U4B").WithArguments("IA", "d521fe98-c881-45cf-0788-249e00d004ea, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(27, 34));
3036
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "a").WithArguments("B2", "other, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(4, 30),
3039
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "a").WithArguments("I", "other, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(4, 30),
3048
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "a").WithArguments("B1", "other, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(3, 30),
3057
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "M<object>").WithArguments("B3", "other, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 12));
3105
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "a").WithArguments("B2", "d521fe98-c881-45cf-8870-249e00ae400d, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(4, 30),
3108
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "a").WithArguments("I", "d521fe98-c881-45cf-8870-249e00ae400d, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(4, 30),
3114
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "a").WithArguments("B1", "d521fe98-c881-45cf-8870-249e00ae400d, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(3, 30),
3120
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "M<object>").WithArguments("B3", "d521fe98-c881-45cf-8870-249e00ae400d, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(7, 12));
3147
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "o").WithArguments("B", "other, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(3, 30),
3153
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "o").WithArguments("B", "other, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(4, 32),
3159
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "o").WithArguments("B", "other, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(5, 36),
3165
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "o").WithArguments("B", "other, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(6, 38),
6450
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "C<D>").WithArguments("A", "e521fe98-c881-45cf-8870-249e00ae400d, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(1, 11),
6453
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "D").WithArguments("IA", "e521fe98-c881-45cf-8870-249e00ae400d, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
6456
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "D").WithArguments("A", "e521fe98-c881-45cf-8870-249e00ae400d, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
6459
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "D").WithArguments("IA", "e521fe98-c881-45cf-8870-249e00ae400d, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(1, 7));
Symbols\Metadata\PE\TypeForwarders.cs (2)
758
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "Derived").WithArguments("Base", "pe3, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
1713
Diagnostic(ErrorCode.
ERR_NoTypeDef
).WithArguments("CF1", "ForwarderTargetAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
Symbols\Source\SourcePlusMetadataTests.cs (1)
286
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "B.GetC").WithArguments("C", "C, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"));
Symbols\SymbolErrorTests.cs (4)
146
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "var").WithArguments("C1<>.C2<>", "MDTestLib1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"),
20299
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "MyAttribute2").WithArguments("MyAttribute1", "Bug7920_CS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")
20711
Diagnostic(ErrorCode.
ERR_NoTypeDef
, "ClassB.MethodB").WithArguments("C.ClassC", "D, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(10, 38));
20765
Diagnostic(ErrorCode.
ERR_NoTypeDef
).WithArguments("Testspace.TestType", "D, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null").WithLocation(1, 1));