35 references to WRN_UseOfObsoleteSymbol2
Microsoft.CodeAnalysis.VisualBasic (3)
Errors\ErrorFacts.vb (1)
1361
ERRID.
WRN_UseOfObsoleteSymbol2
,
Generated\ErrorFacts.Generated.vb (1)
9
ERRID.
WRN_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 (31)
Attributes\AssemblyAttributes.vb (2)
1111
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "Assembly: System.Reflection.AssemblyFlags(12345)").WithArguments("Public Overloads Sub New(assemblyFlags As Integer)", "This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. http://go.microsoft.com/fwlink/?linkid=14202"))
1127
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "Assembly: System.Reflection.AssemblyFlags(12345UI)").WithArguments("Public Overloads Sub New(flags As UInteger)", "This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. http://go.microsoft.com/fwlink/?linkid=14202"))
Attributes\AttributeTests_ObsoleteAttribute.vb (6)
119
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "A1").WithArguments("A1", "Do not use A1"),
501
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "TestClass2").WithArguments("TestClass2", "TestClass2 is obsolete"),
503
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "TestClass4").WithArguments("TestClass4", "TestClass4 is obsolete"),
504
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "c.TestMethod()").WithArguments("Public Sub TestMethod()", "Do not use TestMethod"),
505
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "c.Prop1").WithArguments("Public Property Prop1 As Integer", "Do not use Prop1"),
1362
Assert.Equal(ERRID.
WRN_UseOfObsoleteSymbol2
, DirectCast(diag.Code, ERRID))
Attributes\AttributeTests_WellKnownAttributes.vb (15)
4035
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "SecurityAction.Deny").WithArguments("Deny", "Deny is obsolete and will be removed in a future release of the .NET Framework. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information."),
4036
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "SecurityAction.Deny").WithArguments("Deny", "Deny is obsolete and will be removed in a future release of the .NET Framework. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information."),
4144
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "SecurityAction.RequestMinimum").WithArguments("RequestMinimum", "Assembly level declarative security is obsolete and is no longer enforced by the CLR by default. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information."),
4145
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "SecurityAction.RequestOptional").WithArguments("RequestOptional", "Assembly level declarative security is obsolete and is no longer enforced by the CLR by default. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information."),
4146
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "SecurityAction.RequestRefuse").WithArguments("RequestRefuse", "Assembly level declarative security is obsolete and is no longer enforced by the CLR by default. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information."),
4147
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "SecurityAction.RequestMinimum").WithArguments("RequestMinimum", "Assembly level declarative security is obsolete and is no longer enforced by the CLR by default. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information."),
4148
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "SecurityAction.RequestOptional").WithArguments("RequestOptional", "Assembly level declarative security is obsolete and is no longer enforced by the CLR by default. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information."),
4149
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "SecurityAction.RequestRefuse").WithArguments("RequestRefuse", "Assembly level declarative security is obsolete and is no longer enforced by the CLR by default. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information."),
4156
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "SecurityAction.RequestMinimum").WithArguments("RequestMinimum", "Assembly level declarative security is obsolete and is no longer enforced by the CLR by default. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information."),
4157
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "SecurityAction.RequestOptional").WithArguments("RequestOptional", "Assembly level declarative security is obsolete and is no longer enforced by the CLR by default. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information."),
4158
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "SecurityAction.RequestRefuse").WithArguments("RequestRefuse", "Assembly level declarative security is obsolete and is no longer enforced by the CLR by default. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information."),
4159
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "SecurityAction.RequestMinimum").WithArguments("RequestMinimum", "Assembly level declarative security is obsolete and is no longer enforced by the CLR by default. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information."),
4160
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "SecurityAction.RequestOptional").WithArguments("RequestOptional", "Assembly level declarative security is obsolete and is no longer enforced by the CLR by default. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information."),
4161
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "SecurityAction.RequestRefuse").WithArguments("RequestRefuse", "Assembly level declarative security is obsolete and is no longer enforced by the CLR by default. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information."),
4229
CreateCompilationWithMscorlib40(source).VerifyDiagnostics(Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "SecurityAction.Deny").WithArguments("Deny", "Deny is obsolete and will be removed in a future release of the .NET Framework. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information."),
Emit\CompilationEmitTests.vb (8)
3157
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "SecurityAction.RequestOptional").WithArguments("RequestOptional", "Assembly level declarative security is obsolete and is no longer enforced by the CLR by default. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information."),
3158
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "SecurityAction.RequestMinimum").WithArguments("RequestMinimum", "Assembly level declarative security is obsolete and is no longer enforced by the CLR by default. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information."))
3602
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "SecurityAction.Deny").WithArguments(
3647
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "SecurityAction.Deny").WithArguments("Deny", "Deny is obsolete and will be removed in a future release of the .NET Framework. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information."),
3648
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "SecurityAction.Deny").WithArguments("Deny", "Deny is obsolete and will be removed in a future release of the .NET Framework. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information."),
3667
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "SecurityAction.Deny").WithArguments("Deny", "Deny is obsolete and will be removed in a future release of the .NET Framework. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.").WithLocation(3, 25),
3761
comp.VerifyDiagnostics(Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
, "SecurityAction.Deny").WithArguments(
3770
Diagnostic(ERRID.
WRN_UseOfObsoleteSymbol2
),
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Diagnostics\DiagnosticTests.vb (1)
74
Const WarningsStart = ERRID.
WRN_UseOfObsoleteSymbol2