18 references to ERR_UseOfObsoleteSymbol2
Microsoft.CodeAnalysis.VisualBasic (3)
Binding\Binder_Expressions.vb (1)
4926
ERRID.
ERR_UseOfObsoleteSymbol2
Errors\ErrorFacts.vb (1)
442
ERRID.
ERR_UseOfObsoleteSymbol2
,
Symbols\ObsoleteAttributeHelpers.vb (1)
143
Return ErrorFactory.ObsoleteErrorInfo(If(data.IsError, ERRID.
ERR_UseOfObsoleteSymbol2
, ERRID.WRN_UseOfObsoleteSymbol2), data, symbol, data.Message)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (15)
Attributes\AttributeTests_ObsoleteAttribute.vb (15)
121
Diagnostic(ERRID.
ERR_UseOfObsoleteSymbol2
, "Class1").WithArguments("Class1", "Do not use this type"),
122
Diagnostic(ERRID.
ERR_UseOfObsoleteSymbol2
, "Class1").WithArguments("Class1", "Do not use this type"),
123
Diagnostic(ERRID.
ERR_UseOfObsoleteSymbol2
, "Class1").WithArguments("Class1", "Do not use this type"),
125
Diagnostic(ERRID.
ERR_UseOfObsoleteSymbol2
, "Class1").WithArguments("Class1", "Do not use this type"),
126
Diagnostic(ERRID.
ERR_UseOfObsoleteSymbol2
, "Class1").WithArguments("Class1", "Do not use this type"),
502
Diagnostic(ERRID.
ERR_UseOfObsoleteSymbol2
, "TestClass3").WithArguments("TestClass3", "Do not use TestClass3"),
506
Diagnostic(ERRID.
ERR_UseOfObsoleteSymbol2
, "c.field1").WithArguments("Public field1 As TestClass", "Do not use field1"),
507
Diagnostic(ERRID.
ERR_UseOfObsoleteSymbol2
, "c.event1").WithArguments("Public Event event1 As System.Action", "Do not use event"),
1055
Diagnostic(ERRID.
ERR_UseOfObsoleteSymbol2
, "Att()").WithArguments("Public Sub New()", "Constructor"),
1056
Diagnostic(ERRID.
ERR_UseOfObsoleteSymbol2
, "Att").WithArguments("Public Sub New()", "Constructor"),
1057
Diagnostic(ERRID.
ERR_UseOfObsoleteSymbol2
, "Field:=1").WithArguments("Public Field As Integer", "Field"),
1058
Diagnostic(ERRID.
ERR_UseOfObsoleteSymbol2
, "Att(Field:=1)").WithArguments("Public Sub New()", "Constructor"),
1059
Diagnostic(ERRID.
ERR_UseOfObsoleteSymbol2
, "Prop:=1").WithArguments("Public Property Prop As Integer", "Property"),
1060
Diagnostic(ERRID.
ERR_UseOfObsoleteSymbol2
, "Att(Prop:=1)").WithArguments("Public Sub New()", "Constructor"))
2728
Diagnostic(ERRID.
ERR_UseOfObsoleteSymbol2
, "S").WithArguments("S", "Types with embedded references are not supported in this version of your compiler.").WithLocation(2, 16)