165 references to WRN_UnreferencedLocalFunction
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
256
case ErrorCode.
WRN_UnreferencedLocalFunction
:
1778
case ErrorCode.
WRN_UnreferencedLocalFunction
:
FlowAnalysis\DefiniteAssignment.cs (1)
2182
Diagnostics.Add(ErrorCode.
WRN_UnreferencedLocalFunction
, symbol.Locations.FirstOrNone(), symbol.Name);
Generated\ErrorFacts.Generated.cs (1)
178
case ErrorCode.
WRN_UnreferencedLocalFunction
:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenLocalFunctionTests.cs (1)
5593
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local1").WithArguments("local1").WithLocation(11, 21));
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (15)
FlowAnalysis\FlowDiagnosticTests.cs (2)
2721
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "f").WithArguments("f").WithLocation(7, 14),
2730
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "f").WithArguments("f").WithLocation(7, 14),
FlowAnalysis\LocalFunctions.cs (6)
43
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "L").WithArguments("L").WithLocation(7, 14));
76
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "L1").WithArguments("L1").WithLocation(7, 14));
102
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "L").WithArguments("L").WithLocation(7, 14));
124
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "L2").WithArguments("L2").WithLocation(9, 18),
127
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "L1").WithArguments("L1").WithLocation(6, 14));
705
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Local").WithArguments("Local").WithLocation(7, 14));
Semantics\PatternMatchingTests.cs (2)
70
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "f").WithArguments("f").WithLocation(12, 13));
79
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "f").WithArguments("f").WithLocation(12, 13)
Semantics\PatternMatchingTests_Global.cs (5)
1071
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Test").WithArguments("Test").WithLocation(14, 6)
1203
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Test").WithArguments("Test").WithLocation(14, 6)
5460
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Test").WithArguments("Test").WithLocation(21, 6),
5645
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Test").WithArguments("Test").WithLocation(21, 6),
5972
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Test").WithArguments("Test").WithLocation(6, 6)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (5)
IOperation\IOperationTests_ILocalFunctionStatement.cs (5)
401
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "F").WithArguments("F").WithLocation(6, 24)
433
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "F").WithArguments("F").WithLocation(6, 24)
465
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "F").WithArguments("F").WithLocation(6, 21)
500
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "F").WithArguments("F").WithLocation(6, 26)
544
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "F").WithArguments("F").WithLocation(6, 26)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (97)
Semantics\AnonymousFunctionTests.cs (5)
710
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "f").WithArguments("f").WithLocation(8, 20),
737
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "f").WithArguments("f").WithLocation(8, 13),
764
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "f").WithArguments("f").WithLocation(8, 20));
788
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "f").WithArguments("f").WithLocation(8, 20),
815
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "f").WithArguments("f").WithLocation(8, 13),
Semantics\BindingAsyncTests.cs (1)
3580
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(10, 25));
Semantics\ConstantTests.cs (2)
3295
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "f").WithArguments("f").WithLocation(6, 14)
3346
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "f").WithArguments("f").WithLocation(2, 6),
Semantics\DelegateTypeTests.cs (3)
7063
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Test3").WithArguments("Test3").WithLocation(6, 6),
7066
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Test4").WithArguments("Test4").WithLocation(7, 6),
16081
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(5, 14));
Semantics\ExpressionBodiedMemberTests.cs (1)
943
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Bar").WithArguments("Bar").WithLocation(6, 13));
Semantics\FunctionPointerTests.cs (1)
2739
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Test").WithArguments("Test").WithLocation(7, 17)
Semantics\LocalFunctionTests.cs (27)
369
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(6, 14));
488
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(10, 14));
536
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(13, 14));
800
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(10, 13));
847
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(9, 13));
1588
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "L").WithArguments("L").WithLocation(6, 13),
1591
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "L2").WithArguments("L2").WithLocation(7, 13));
1760
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Local").WithArguments("Local").WithLocation(7, 14));
1835
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Local").WithArguments("Local").WithLocation(7, 14));
2490
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "BadLocal1").WithArguments("BadLocal1").WithLocation(8, 17),
2493
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "BadLocal2").WithArguments("BadLocal2").WithLocation(13, 17));
2742
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Overload").WithArguments("Overload").WithLocation(8, 14));
2932
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Duplicate").WithArguments("Duplicate").WithLocation(7, 14)
3039
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Conflict").WithArguments("Conflict").WithLocation(7, 14)
3066
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Conflict").WithArguments("Conflict").WithLocation(6, 14)
3318
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Local").WithArguments("Local").WithLocation(6, 14)
3347
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Local").WithArguments("Local").WithLocation(9, 18)
3959
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Add").WithArguments("Add").WithLocation(7, 13)
3988
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Add").WithArguments("Add").WithLocation(7, 13)
4585
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Local1").WithArguments("Local1").WithLocation(6, 14),
4588
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Local2").WithArguments("Local2").WithLocation(7, 14),
4591
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Local3").WithArguments("Local3").WithLocation(8, 14),
4594
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Local4").WithArguments("Local4").WithLocation(10, 14),
4597
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Local5").WithArguments("Local5").WithLocation(11, 14),
4600
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Local6").WithArguments("Local6").WithLocation(12, 14)
8650
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(7, 14)
8692
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(7, 14)
Semantics\MethodTypeInferenceTests.cs (1)
831
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "M").WithArguments("M").WithLocation(2, 6),
Semantics\NullableReferenceTypesTests.cs (7)
74577
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "F2").WithArguments("F2").WithLocation(4, 6),
74630
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "F3").WithArguments("F3").WithLocation(28, 18),
74651
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "F2").WithArguments("F2").WithLocation(4, 6),
74672
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "F2").WithArguments("F2").WithLocation(4, 6),
74704
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "F2").WithArguments("F2").WithLocation(4, 6),
151583
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local2").WithArguments("local2").WithLocation(11, 14),
151612
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local2").WithArguments("local2").WithLocation(11, 14),
Semantics\OutVarTests.cs (23)
20729
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "b").WithArguments("b").WithLocation(7, 13)
23241
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "TakeOutParam").WithArguments("TakeOutParam").WithLocation(85, 13)
24338
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "TakeOutParam").WithArguments("TakeOutParam").WithLocation(47, 13)
26554
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Test").WithArguments("Test").WithLocation(14, 6)
26698
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Test").WithArguments("Test").WithLocation(14, 6)
27513
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Test").WithArguments("Test").WithLocation(21, 6),
27690
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Test").WithArguments("Test").WithLocation(21, 6),
27903
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Test").WithArguments("Test").WithLocation(22, 6),
28081
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Test").WithArguments("Test").WithLocation(22, 6),
31211
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Test").WithArguments("Test").WithLocation(21, 6),
31384
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Test").WithArguments("Test").WithLocation(21, 6),
31737
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Test").WithArguments("Test").WithLocation(6, 6)
31830
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Test").WithArguments("Test").WithLocation(6, 6)
31911
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Test").WithArguments("Test").WithLocation(6, 6),
32010
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Test").WithArguments("Test").WithLocation(6, 6)
33544
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Local2").WithArguments("Local2").WithLocation(6, 14),
33547
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Local5").WithArguments("Local5").WithLocation(7, 14)
34767
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Local2").WithArguments("Local2").WithLocation(6, 14),
34770
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Local5").WithArguments("Local5").WithLocation(7, 14)
36297
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(7, 14)
36344
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(7, 14)
36381
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(6, 14),
36423
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(6, 14),
Semantics\RecordTests.cs (1)
91
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Point").WithArguments("Point").WithLocation(2, 8)
Semantics\RefLocalsAndReturnsTests.cs (8)
2587
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Goo").WithArguments("Goo").WithLocation(6, 18),
2590
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Goo1").WithArguments("Goo1").WithLocation(12, 14),
2593
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Goo2").WithArguments("Goo2").WithLocation(17, 18));
2635
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Goo").WithArguments("Goo").WithLocation(7, 18),
2638
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Goo1").WithArguments("Goo1").WithLocation(9, 14),
2641
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Goo2").WithArguments("Goo2").WithLocation(11, 18),
2644
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Moo1").WithArguments("Moo1").WithLocation(16, 18),
2647
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Moo3").WithArguments("Moo3").WithLocation(17, 14)
Semantics\TopLevelStatementsTests.cs (17)
288
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(1, 6)
303
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(1, 6)
444
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(2, 6),
465
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(2, 6),
1441
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(2, 6),
1460
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(2, 6),
1504
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "e").WithArguments("e").WithLocation(9, 8)
2890
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(3, 6),
2946
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(3, 6),
4491
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local2").WithArguments("local2").WithLocation(5, 6)
4523
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(2, 6)
4555
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local1").WithArguments("local1").WithLocation(7, 6)
4721
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "await").WithArguments("await").WithLocation(3, 8),
4999
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Main").WithArguments("Main").WithLocation(2, 13)
6012
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(19, 6)
8880
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "M1").WithArguments("M1").WithLocation(3, 13),
8883
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "M2").WithArguments("M2").WithLocation(4, 6),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (11)
Compilation\CompilationAPITests.cs (2)
674
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Alias").WithArguments("Alias").WithLocation(1, 14)
751
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Alias").WithArguments("Alias").WithLocation(1, 14)
Symbols\LocalFunctionTests.cs (1)
126
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(5, 29));
Symbols\Source\ClsComplianceTests.cs (3)
3003
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "M").WithArguments("M").WithLocation(5, 13));
3024
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "M").WithArguments("M").WithLocation(7, 13));
3045
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "M").WithArguments("M").WithLocation(7, 13));
Symbols\Source\FileModifierTests.cs (1)
3549
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "M").WithArguments("M").WithLocation(3, 6));
Symbols\Source\MethodTests.cs (1)
2223
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "M").WithArguments("M").WithLocation(6, 18)
Symbols\Source\NullablePublicAPITests.cs (3)
3849
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "localFunc").WithArguments("localFunc").WithLocation(18, 18));
4036
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "localFunc").WithArguments("localFunc").WithLocation(18, 18),
4109
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "localFunc").WithArguments("localFunc").WithLocation(18, 18));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (32)
Diagnostics\DiagnosticTest.cs (1)
315
case ErrorCode.
WRN_UnreferencedLocalFunction
:
Parsing\FileModifierParsingTests.cs (4)
3024
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "M").WithArguments("M").WithLocation(1, 6),
3088
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "M").WithArguments("M").WithLocation(1, 6),
3295
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "M").WithArguments("M").WithLocation(1, 6),
3431
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(1, 6)
Parsing\LocalFunctionParsingTests.cs (24)
705
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(6, 21));
718
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(6, 21));
794
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(6, 21));
804
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(6, 21));
1220
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "goo").WithArguments("goo").WithLocation(7, 13),
1223
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "goo").WithArguments("goo").WithLocation(9, 13),
1226
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "goo").WithArguments("goo").WithLocation(11, 13));
1313
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(6, 13),
1319
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "local").WithArguments("local").WithLocation(10, 13));
1726
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "F").WithArguments("F").WithLocation(5, 21));
1730
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "F").WithArguments("F").WithLocation(5, 21));
1734
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "F").WithArguments("F").WithLocation(5, 21));
1814
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "F1").WithArguments("F1").WithLocation(5, 27),
1823
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "F2").WithArguments("F2").WithLocation(6, 27));
1830
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "F1").WithArguments("F1").WithLocation(5, 27),
1836
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "F2").WithArguments("F2").WithLocation(6, 27));
1843
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "F1").WithArguments("F1").WithLocation(5, 27),
1849
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "F2").WithArguments("F2").WithLocation(6, 27));
1954
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "F1").WithArguments("F1").WithLocation(5, 28),
1972
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "F2").WithArguments("F2").WithLocation(6, 34));
1982
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "F1").WithArguments("F1").WithLocation(5, 28),
1994
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "F2").WithArguments("F2").WithLocation(6, 34));
2004
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "F1").WithArguments("F1").WithLocation(5, 28),
2016
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "F2").WithArguments("F2").WithLocation(6, 34));
Parsing\ParserErrorMessageTests.cs (2)
2506
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "j").WithArguments("j").WithLocation(6, 40));
5436
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "Local").WithArguments("Local").WithLocation(5, 14));
Parsing\RecordParsing.cs (1)
121
Diagnostic(ErrorCode.
WRN_UnreferencedLocalFunction
, "C").WithArguments("C").WithLocation(1, 8));