17 references to Syntax
Microsoft.CodeAnalysis.CSharp (17)
FlowAnalysis\NullableWalker.cs (1)
3350
enforceMemberNotNull(((LocalFunctionSymbol)lambdaOrFunctionSymbol).
Syntax
, this.State);
Symbols\Source\LocalFunctionSymbol.cs (16)
144
addTo.Add(ErrorCode.WRN_MainIgnored,
Syntax
.Identifier.GetLocation(), this);
198
this.
Syntax
.ParameterList,
251
TypeSyntax returnTypeSyntax =
Syntax
.ReturnType;
320
var firstParam =
Syntax
.ParameterList.Parameters.FirstOrDefault();
331
public override string Name =>
Syntax
.Identifier.ValueText ?? "";
333
public SyntaxToken NameToken =>
Syntax
.Identifier;
337
public override ImmutableArray<Location> Locations => ImmutableArray.Create(
Syntax
.Identifier.GetLocation());
339
public override Location TryGetFirstLocation() =>
Syntax
.Identifier.GetLocation();
349
return OneOrMany.Create(
Syntax
.AttributeLists);
374
internal bool IsExpressionBodied =>
Syntax
is { Body: null, ExpressionBody: object _ };
411
var typeParameters =
Syntax
.TypeParameterList?.Parameters ?? default;
474
var syntax =
Syntax
;
504
var syntax =
Syntax
;
522
return
Syntax
.GetHashCode();
530
return localFunction?.
Syntax
==
Syntax
;