6 overrides of GetMethodBodyDiagnostics
Microsoft.CodeAnalysis.CSharp (3)
Compilation\MemberSemanticModel.cs (1)
581
public sealed override ImmutableArray<Diagnostic>
GetMethodBodyDiagnostics
(TextSpan? span = null, CancellationToken cancellationToken = default(CancellationToken))
Compilation\SpeculativeSemanticModelWithMemberModel.cs (1)
245
public override ImmutableArray<Diagnostic>
GetMethodBodyDiagnostics
(TextSpan? span = null, CancellationToken cancellationToken = default(CancellationToken))
Compilation\SyntaxTreeSemanticModel.cs (1)
128
public override ImmutableArray<Diagnostic>
GetMethodBodyDiagnostics
(TextSpan? span = null, CancellationToken cancellationToken = default(CancellationToken))
Microsoft.CodeAnalysis.VisualBasic (3)
Binding\MemberSemanticModel.vb (1)
443
Public NotOverridable Overrides Function
GetMethodBodyDiagnostics
(Optional span As TextSpan? = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ImmutableArray(Of Diagnostic)
Compilation\SpeculativeSemanticModelWithMemberModel.vb (1)
145
Public Overrides Function
GetMethodBodyDiagnostics
(Optional span As TextSpan? = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ImmutableArray(Of Diagnostic)
Compilation\SyntaxTreeSemanticModel.vb (1)
135
Public Overrides Function
GetMethodBodyDiagnostics
(Optional span As TextSpan? = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ImmutableArray(Of Diagnostic)
5 references to GetMethodBodyDiagnostics
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\CompilerDiagnosticAnalyzer.CompilationAnalyzer.cs (1)
42
var bodyDiagnostics = context.SemanticModel.
GetMethodBodyDiagnostics
(context.FilterSpan, context.CancellationToken);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Compilation\GetSemanticInfoTests.cs (2)
422
errs = model.
GetMethodBodyDiagnostics
();
5789
errs = model.
GetMethodBodyDiagnostics
();
Compilation\SemanticModelAPITests.cs (2)
2373
semanticModel.
GetMethodBodyDiagnostics
();
2386
semanticModel.
GetMethodBodyDiagnostics
();