17 references to Syntax
Microsoft.CodeAnalysis.CSharp (17)
FlowAnalysis\NullableWalker.cs (1)
3289
enforceMemberNotNull(((LocalFunctionSymbol)lambdaOrFunctionSymbol).
Syntax
, this.State);
Symbols\Source\LocalFunctionSymbol.cs (16)
143
addTo.Add(ErrorCode.WRN_MainIgnored,
Syntax
.Identifier.GetLocation(), this);
197
this.
Syntax
.ParameterList,
250
TypeSyntax returnTypeSyntax =
Syntax
.ReturnType;
319
var firstParam =
Syntax
.ParameterList.Parameters.FirstOrDefault();
330
public override string Name =>
Syntax
.Identifier.ValueText ?? "";
332
public SyntaxToken NameToken =>
Syntax
.Identifier;
336
public override ImmutableArray<Location> Locations => ImmutableArray.Create(
Syntax
.Identifier.GetLocation());
338
public override Location TryGetFirstLocation() =>
Syntax
.Identifier.GetLocation();
348
return OneOrMany.Create(
Syntax
.AttributeLists);
373
internal bool IsExpressionBodied =>
Syntax
is { Body: null, ExpressionBody: object _ };
410
var typeParameters =
Syntax
.TypeParameterList?.Parameters ?? default;
473
var syntax =
Syntax
;
503
var syntax =
Syntax
;
521
return
Syntax
.GetHashCode();
529
return localFunction?.
Syntax
==
Syntax
;