9 instantiations of CSDiagnostic
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder.cs (2)
531diagnostics.Add(new CSDiagnostic(info, syntax.Location)); 536diagnostics.Add(new CSDiagnostic(info, location));
Binder\Binder_Expressions.cs (3)
7637diagnostics.Add(new CSDiagnostic(diagnosticInfo, operatorToken.GetLocation())); 8046diagnostics.Add(new CSDiagnostic(lookupError, name.Location)); 11042diagnostics.Add(new CSDiagnostic(diagnosticInfo, access.Syntax.Location));
Binder\Binder_Symbols.cs (1)
2335diagnostics.Add(new CSDiagnostic(result.Error, where.Location));
Errors\DiagnosticBagExtensions.cs (2)
55var diag = new CSDiagnostic(info, location); 100diagnostics.Add(new CSDiagnostic(info, location));
Errors\MessageProvider.cs (1)
95return new CSDiagnostic(info, Location.None);
11 references to CSDiagnostic
Microsoft.CodeAnalysis.CSharp (11)
Compiler\ClsComplianceChecker.cs (2)
1256var diag = new CSDiagnostic(info, location); 1263var diag = new CSDiagnostic(info, location);
Errors\DiagnosticBagExtensions.cs (4)
24var diag = new CSDiagnostic(info, location); 40var diag = new CSDiagnostic(info, location); 48var diag = new CSDiagnostic(info, location); 55var diag = new CSDiagnostic(info, location);
Lowering\AsyncRewriter\AsyncMethodBuilderMemberCollection.cs (3)
460var diagnostic = new CSDiagnostic( 518var badTaskProperty = new CSDiagnostic( 528var diagnostic = new CSDiagnostic(
Lowering\SyntheticBoundNodeFactory.cs (2)
321var diagnostic = new CSDiagnostic(new CSDiagnosticInfo(ErrorCode.ERR_MissingPredefinedMember, memberDescriptor.DeclaringTypeMetadataName, memberDescriptor.Name), Syntax.Location); 368var diagnostic = new CSDiagnostic(new CSDiagnosticInfo(ErrorCode.ERR_MissingPredefinedMember, memberDescriptor.DeclaringTypeMetadataName, memberDescriptor.Name), Syntax.Location);