53 references to WRN_DefAsgUseNullRef
Microsoft.CodeAnalysis.VisualBasic (3)
Analysis\FlowAnalysis\DataFlowPass.vb (1)
1197warning = If(rwContext = ReadWriteContext.ByRefArgument, ERRID.WRN_DefAsgUseNullRefByRef, ERRID.WRN_DefAsgUseNullRef)
Errors\ErrorFacts.vb (1)
1444ERRID.WRN_DefAsgUseNullRef,
Generated\ErrorFacts.Generated.vb (1)
92ERRID.WRN_DefAsgUseNullRef,
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (5)
CodeGen\CodeGenTuples.vb (3)
10663Diagnostic(ERRID.WRN_DefAsgUseNullRef, "ss.I31").WithArguments("I31").WithLocation(38, 34), 10667Diagnostic(ERRID.WRN_DefAsgUseNullRef, "ss.I2").WithArguments("I2").WithLocation(58, 34)) 10983Diagnostic(ERRID.WRN_DefAsgUseNullRef, "ss.I3").WithArguments("I3").WithLocation(18, 38)
ExpressionTrees\CodeGenExprLambda.vb (2)
4449Diagnostic(ERRID.WRN_DefAsgUseNullRef, "t3").WithArguments("t3"), 4450Diagnostic(ERRID.WRN_DefAsgUseNullRef, "t1").WithArguments("t1")})
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (19)
Binding\BindingErrorTests.vb (7)
16012Diagnostic(ERRID.WRN_DefAsgUseNullRef, "v").WithArguments("v")) 17333Diagnostic(ERRID.WRN_DefAsgUseNullRef, "jj").WithArguments("jj"), 17355Diagnostic(ERRID.WRN_DefAsgUseNullRef, "jj").WithArguments("jj"), 17356Diagnostic(ERRID.WRN_DefAsgUseNullRef, "implicit").WithArguments("implicit")) 23699Diagnostic(ERRID.WRN_DefAsgUseNullRef, "X").WithArguments("X")) 23770Diagnostic(ERRID.WRN_DefAsgUseNullRef, "Y").WithArguments("Y"), 23771Diagnostic(ERRID.WRN_DefAsgUseNullRef, "Z").WithArguments("Z"))
Binding\ImplicitVariableTests.vb (7)
131Diagnostic(ERRID.WRN_DefAsgUseNullRef, "x").WithArguments("x"), 132Diagnostic(ERRID.WRN_DefAsgUseNullRef, "Y").WithArguments("y")) 750Diagnostic(ERRID.WRN_DefAsgUseNullRef, "y").WithArguments("y"), 751Diagnostic(ERRID.WRN_DefAsgUseNullRef, "x").WithArguments("x")) 777Diagnostic(ERRID.WRN_DefAsgUseNullRef, "y").WithArguments("y"), 778Diagnostic(ERRID.WRN_DefAsgUseNullRef, "x").WithArguments("x"), 779Diagnostic(ERRID.WRN_DefAsgUseNullRef, "z").WithArguments("z"))
Binding\SyncLockTests.vb (2)
184Diagnostic(ERRID.WRN_DefAsgUseNullRef, "syncroot").WithArguments("syncroot")) 380</compilation>).VerifyDiagnostics(Diagnostic(ERRID.WRN_DefAsgUseNullRef, "myLock").WithArguments("myLock"))
Semantics\VariableTypeInference.vb (1)
609Diagnostic(ERRID.WRN_DefAsgUseNullRef, "x").WithArguments("x"))
Semantics\WithBlockErrorTests.vb (2)
839Diagnostic(ERRID.WRN_DefAsgUseNullRef, ".B").WithArguments("B")) 916Diagnostic(ERRID.WRN_DefAsgUseNullRef, "c").WithArguments("c"))
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (26)
Parser\ParseDirectives.vb (26)
2942Diagnostic(ERRID.WRN_DefAsgUseNullRef, "b").WithArguments("b").WithLocation(6, 17), 2950Diagnostic(ERRID.WRN_DefAsgUseNullRef, "b").WithArguments("b").WithLocation(6, 17), 2957Diagnostic(ERRID.WRN_DefAsgUseNullRef, "b").WithArguments("b").WithLocation(6, 17)) 2962Diagnostic(ERRID.WRN_DefAsgUseNullRef, "b").WithArguments("b").WithLocation(6, 17).WithWarningAsError(True), 2987Diagnostic(ERRID.WRN_DefAsgUseNullRef, "b").WithArguments("b").WithLocation(6, 17), 2995Diagnostic(ERRID.WRN_DefAsgUseNullRef, "b").WithArguments("b").WithLocation(6, 17), 3002Diagnostic(ERRID.WRN_DefAsgUseNullRef, "b").WithArguments("b").WithLocation(6, 17)) 3007Diagnostic(ERRID.WRN_DefAsgUseNullRef, "b").WithArguments("b").WithLocation(6, 17).WithWarningAsError(True), 3033Diagnostic(ERRID.WRN_DefAsgUseNullRef, "b").WithArguments("b").WithLocation(7, 17), 3041Diagnostic(ERRID.WRN_DefAsgUseNullRef, "b").WithArguments("b").WithLocation(7, 17)) 3047Diagnostic(ERRID.WRN_DefAsgUseNullRef, "b").WithArguments("b").WithLocation(7, 17)) 3052Diagnostic(ERRID.WRN_DefAsgUseNullRef, "b").WithArguments("b").WithLocation(7, 17).WithWarningAsError(True)) 3076Diagnostic(ERRID.WRN_DefAsgUseNullRef, "b").WithArguments("b").WithLocation(6, 17), 3083Diagnostic(ERRID.WRN_DefAsgUseNullRef, "b").WithArguments("b").WithLocation(6, 17), 3090Diagnostic(ERRID.WRN_DefAsgUseNullRef, "b").WithArguments("b").WithLocation(6, 17)) 3094Diagnostic(ERRID.WRN_DefAsgUseNullRef, "b").WithArguments("b").WithLocation(6, 17).WithWarningAsError(True), 3126Diagnostic(ERRID.WRN_DefAsgUseNullRef, "g").WithArguments("g").WithLocation(13, 17)) 3133Diagnostic(ERRID.WRN_DefAsgUseNullRef, "g").WithArguments("g").WithLocation(13, 17)) 3139Diagnostic(ERRID.WRN_DefAsgUseNullRef, "g").WithArguments("g").WithLocation(13, 17)) 3144Diagnostic(ERRID.WRN_DefAsgUseNullRef, "g").WithArguments("g").WithLocation(13, 17).WithWarningAsError(True)) 3257Diagnostic(ERRID.WRN_DefAsgUseNullRef, "b").WithArguments("b").WithLocation(7, 17), 3265Diagnostic(ERRID.WRN_DefAsgUseNullRef, "b").WithArguments("b").WithLocation(7, 17), 3272Diagnostic(ERRID.WRN_DefAsgUseNullRef, "b").WithArguments("b").WithLocation(7, 17)) 3277Diagnostic(ERRID.WRN_DefAsgUseNullRef, "b").WithArguments("b").WithLocation(7, 17).WithWarningAsError(True), 3363Diagnostic(ERRID.WRN_DefAsgUseNullRef, "b").WithArguments("b").WithLocation(6, 17), 3572Diagnostic(ERRID.WRN_DefAsgUseNullRef, "e").WithArguments("e").WithLocation(10, 17),