103 references to ERR_UndefinedType1
Microsoft.CodeAnalysis.VisualBasic (3)
Binding\Binder.vb (1)
458
info = New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.
ERR_UndefinedType1
, MetadataHelpers.BuildQualifiedName(missing.NamespaceName, missing.Name)))
Binding\Binder_Symbols.vb (1)
341
diagInfo = ErrorFactory.ErrorInfo(ERRID.
ERR_UndefinedType1
, diagName)
Errors\ErrorFacts.vb (1)
55
ERRID.
ERR_UndefinedType1
,
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (14)
Attributes\AttributeTests.vb (1)
3892
comp.VerifyDiagnostics(Diagnostic(ERRID.
ERR_UndefinedType1
, "A").WithArguments("A"),
CodeGen\CodeGenVBCore.vb (13)
3122
Diagnostic(ERRID.
ERR_UndefinedType1
).WithArguments("Global.System.ComponentModel.EditorBrowsable"),
3124
Diagnostic(ERRID.
ERR_UndefinedType1
).WithArguments("Global.System.ComponentModel.EditorBrowsable"),
3126
Diagnostic(ERRID.
ERR_UndefinedType1
).WithArguments("Global.System.ComponentModel.EditorBrowsable"),
3128
Diagnostic(ERRID.
ERR_UndefinedType1
).WithArguments("Global.System.ComponentModel.EditorBrowsable"),
3130
Diagnostic(ERRID.
ERR_UndefinedType1
).WithArguments("Global.System.ComponentModel.EditorBrowsable"),
3132
Diagnostic(ERRID.
ERR_UndefinedType1
).WithArguments("Global.System.ComponentModel.EditorBrowsable"),
3134
Diagnostic(ERRID.
ERR_UndefinedType1
).WithArguments("Global.System.ComponentModel.EditorBrowsable"),
3136
Diagnostic(ERRID.
ERR_UndefinedType1
).WithArguments("Global.System.ComponentModel.EditorBrowsable"),
3138
Diagnostic(ERRID.
ERR_UndefinedType1
).WithArguments("Global.System.ComponentModel.EditorBrowsable"),
3140
Diagnostic(ERRID.
ERR_UndefinedType1
).WithArguments("Global.System.ComponentModel.EditorBrowsable"),
3142
Diagnostic(ERRID.
ERR_UndefinedType1
).WithArguments("Global.System.ComponentModel.EditorBrowsable"),
3144
Diagnostic(ERRID.
ERR_UndefinedType1
).WithArguments("Global.System.ComponentModel.EditorBrowsable"),
3146
Diagnostic(ERRID.
ERR_UndefinedType1
).WithArguments("Global.System.ComponentModel.EditorBrowsable"),
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (1)
EvaluationContext.vb (1)
595
Case ERRID.
ERR_UndefinedType1
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler.UnitTests (5)
MissingAssemblyTests.vb (5)
275
Dim actualIdentity = GetMissingAssemblyIdentities(ERRID.
ERR_UndefinedType1
, {"Windows.Storage"}, globalNamespace).Single()
278
actualIdentity = GetMissingAssemblyIdentities(ERRID.
ERR_UndefinedType1
, {"Global.Windows.Storage"}, globalNamespace).Single()
281
actualIdentity = GetMissingAssemblyIdentities(ERRID.
ERR_UndefinedType1
, {"Global.Windows.Storage.Additional"}, globalNamespace).Single()
286
actualIdentity = GetMissingAssemblyIdentities(ERRID.
ERR_UndefinedType1
, {"Windows.UI.Xaml"}, globalNamespace).Single()
289
Assert.True(GetMissingAssemblyIdentities(ERRID.
ERR_UndefinedType1
, {"Windows.UI.Xaml(Of T)"}, globalNamespace).IsDefault)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (60)
Binding\BindingErrorTests.vb (4)
415
VerifyDiagnostics(Diagnostic(ERRID.
ERR_UndefinedType1
, "MyAttribute").WithArguments("MyAttribute"))
23587
Diagnostic(ERRID.
ERR_UndefinedType1
, "myattribute1").WithArguments("myattribute1"),
23588
Diagnostic(ERRID.
ERR_UndefinedType1
, "List(Of myattribute1)").WithArguments("List"),
24214
Diagnostic(ERRID.
ERR_UndefinedType1
, "Attribute").WithArguments("Attribute"),
Binding\GenericsTests.vb (1)
226
compilation.VerifyDiagnostics(Diagnostic(ERRID.
ERR_UndefinedType1
, "CScen5b").WithArguments("CScen5b"))
Compilation\CompilationAPITests.vb (2)
2463
c5.VerifyDiagnostics(Diagnostic(ERRID.
ERR_UndefinedType1
, "C").WithArguments("C").WithLocation(1, 40))
2674
Diagnostic(ERRID.
ERR_UndefinedType1
, "X").WithArguments("X"))
Compilation\ReferenceManagerTests.vb (1)
923
Diagnostic(ERRID.
ERR_UndefinedType1
, "C1").WithArguments("C1"))
Diagnostics\OperationAnalyzerTests.vb (8)
956
Diagnostic(ERRID.
ERR_UndefinedType1
, "UndefType").WithArguments("UndefType").WithLocation(12, 35),
957
Diagnostic(ERRID.
ERR_UndefinedType1
, "UndefType").WithArguments("UndefType").WithLocation(12, 35),
958
Diagnostic(ERRID.
ERR_UndefinedType1
, "UndefType").WithArguments("UndefType").WithLocation(12, 35),
959
Diagnostic(ERRID.
ERR_UndefinedType1
, "UndefType").WithArguments("UndefType").WithLocation(12, 35),
960
Diagnostic(ERRID.
ERR_UndefinedType1
, "UndefType").WithArguments("UndefType").WithLocation(13, 31),
961
Diagnostic(ERRID.
ERR_UndefinedType1
, "UndefType").WithArguments("UndefType").WithLocation(13, 31),
962
Diagnostic(ERRID.
ERR_UndefinedType1
, "UndefType").WithArguments("UndefType").WithLocation(13, 31),
963
Diagnostic(ERRID.
ERR_UndefinedType1
, "UndefType").WithArguments("UndefType").WithLocation(13, 31))
Semantics\ArrayLiteralTests.vb (2)
690
Diagnostic(ERRID.
ERR_UndefinedType1
, "Action").WithArguments("Action")
697
Diagnostic(ERRID.
ERR_UndefinedType1
, "Action").WithArguments("Action")
Semantics\Conversions.vb (14)
2765
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnknownType").WithArguments("UnknownType"),
2768
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnknownType").WithArguments("UnknownType"),
2819
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnknownType").WithArguments("UnknownType"),
2822
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnknownType").WithArguments("UnknownType"),
2870
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnknownType").WithArguments("UnknownType"),
2873
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnknownType").WithArguments("UnknownType"),
3035
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnknownType").WithArguments("UnknownType"),
3038
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnknownType").WithArguments("UnknownType"),
3072
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnknownType").WithArguments("UnknownType"),
3075
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnknownType").WithArguments("UnknownType"),
3212
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnknownType").WithArguments("UnknownType"),
3215
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnknownType").WithArguments("UnknownType"),
3240
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnknownType").WithArguments("UnknownType"),
3243
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnknownType").WithArguments("UnknownType"),
Semantics\UseSiteErrorTests.vb (28)
88
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
89
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
137
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
138
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
190
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
191
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
192
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
193
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
284
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
285
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
286
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
287
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
288
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
289
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
290
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
291
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
292
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
293
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
408
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
409
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
410
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
411
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
412
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
413
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
414
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
415
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
416
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
417
Diagnostic(ERRID.
ERR_UndefinedType1
, "UnavailableClass").WithArguments("UnavailableClass"),
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (20)
SymbolsTests\Metadata\PE\TypeForwarders.vb (8)
740
Diagnostic(ERRID.
ERR_UndefinedType1
, "Generic").WithArguments("Generic"),
742
Diagnostic(ERRID.
ERR_UndefinedType1
, "Generic(Of Integer, Integer)").WithArguments("Generic"))
834
Diagnostic(ERRID.
ERR_UndefinedType1
, "ns.ms.ls.t3").WithArguments("ns.ms.ls.t3"),
835
Diagnostic(ERRID.
ERR_UndefinedType1
, "nope").WithArguments("nope"),
836
Diagnostic(ERRID.
ERR_UndefinedType1
, "ns.nope").WithArguments("ns.nope"),
837
Diagnostic(ERRID.
ERR_UndefinedType1
, "ns.ms.nope").WithArguments("ns.ms.nope"),
838
Diagnostic(ERRID.
ERR_UndefinedType1
, "ns.ms.ls.nope").WithArguments("ns.ms.ls.nope"))
895
Diagnostic(ERRID.
ERR_UndefinedType1
, "n2.n3.t").WithArguments("n2.n3.t"),
SymbolsTests\Retargeting\RetargetingTests.vb (5)
353
Diagnostic(ERRID.
ERR_UndefinedType1
, "E").WithArguments("System.Int32"),
354
Diagnostic(ERRID.
ERR_UndefinedType1
, <![CDATA[Public Enum E
391
Diagnostic(ERRID.
ERR_UndefinedType1
, "Short").WithArguments("System.Int16"),
392
Diagnostic(ERRID.
ERR_UndefinedType1
, <![CDATA[Public Enum E As Short
597
Diagnostic(ERRID.
ERR_UndefinedType1
, "Short").WithArguments("System.Int16"))
SymbolsTests\Source\DelegateTests.vb (6)
19
Diagnostic(ERRID.
ERR_UndefinedType1
, "Delegate Sub A()").WithArguments("System.Void"),
20
Diagnostic(ERRID.
ERR_UndefinedType1
, "Delegate Sub A()").WithArguments("System.Void"),
21
Diagnostic(ERRID.
ERR_UndefinedType1
, "Delegate Sub A()").WithArguments("System.IAsyncResult"),
22
Diagnostic(ERRID.
ERR_UndefinedType1
, "Delegate Sub A()").WithArguments("System.Object"),
23
Diagnostic(ERRID.
ERR_UndefinedType1
, "Delegate Sub A()").WithArguments("System.IntPtr"),
24
Diagnostic(ERRID.
ERR_UndefinedType1
, "Delegate Sub A()").WithArguments("System.AsyncCallback"),
SymbolsTests\SymbolErrorTests.vb (1)
20993
Assert.Equal(DirectCast(ERRID.
ERR_UndefinedType1
, Integer), err.Code)