9 references to SyntaxTree
Microsoft.CodeAnalysis (2)
Diagnostic\SourceLocation.cs (2)
37
: this(nodeOrToken.
SyntaxTree
!, nodeOrToken.Span)
39
Debug.Assert(nodeOrToken.
SyntaxTree
is object);
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Conversions.cs (3)
314
Debug.Assert(syntax.
SyntaxTree
is object);
324
CheckFeatureAvailability(syntax.
SyntaxTree
, MessageID.IDS_FeatureStaticAbstractMembersInInterfaces, diagnostics, syntax.GetLocation()!);
336
CheckFeatureAvailability(syntax.
SyntaxTree
, MessageID.IDS_FeatureCheckedUserDefinedOperators, diagnostics, syntax.GetLocation()!);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
ParentChecker.cs (1)
18
Assert.Equal(expectedSyntaxTree, nodeOrToken.
SyntaxTree
);
Microsoft.CodeAnalysis.Features (2)
ExtractMethod\MethodExtractor.CodeGenerator.cs (2)
162
if (methodDefinition.
SyntaxTree
.IsHiddenPosition(methodDefinition.AsNode().SpanStart, cancellationToken) ||
163
methodDefinition.
SyntaxTree
.IsHiddenPosition(methodDefinition.AsNode().Span.End, cancellationToken))
Microsoft.CodeAnalysis.Workspaces (1)
Simplification\AbstractSimplificationService.cs (1)
209
if (currentNodeOrToken.
SyntaxTree
!= semanticModelForReduce.SyntaxTree)