20 references to SizeOfExpression
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Expressions.cs (1)
732case SyntaxKind.SizeOfExpression:
Binder\Binder_Unsafe.cs (1)
29Debug.Assert((node.Kind() == SyntaxKind.SizeOfExpression) == ((object)sizeOfTypeOpt != null), "Should have a type for (only) sizeof expressions.");
Binder\EarlyWellKnownAttributeBinder.cs (1)
71case SyntaxKind.SizeOfExpression:
Parser\LanguageParser.cs (1)
10794case SyntaxKind.SizeOfExpression:
Syntax\SyntaxFacts.cs (1)
144case SizeOfExpression:
Syntax\SyntaxKindFacts.cs (1)
558return SyntaxKind.SizeOfExpression;
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
713case SyntaxKind.SizeOfExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
234case SyntaxKind.SizeOfExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (1)
609=> (syntaxKind is SyntaxKind.TypeOfExpression or SyntaxKind.DefaultExpression or SyntaxKind.SizeOfExpression);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (2)
920if (token.IsKind(SyntaxKind.OpenParenToken) && token.Parent.IsKind(SyntaxKind.SizeOfExpression)) 2402if (token.Parent is (kind: SyntaxKind.TypeOfExpression or SyntaxKind.DefaultExpression or SyntaxKind.SizeOfExpression))
Microsoft.CodeAnalysis.CSharp.Features (1)
EditAndContinue\SyntaxComparer.cs (1)
528case SyntaxKind.SizeOfExpression:
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Parsing\ExpressionParsingTests.cs (1)
847case SyntaxKind.SizeOfExpression:
Parsing\FunctionPointerTests.cs (1)
3039N(SyntaxKind.SizeOfExpression);
Parsing\StatementAttributeParsingTests.cs (1)
6167N(SyntaxKind.SizeOfExpression);
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
713case SyntaxKind.SizeOfExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
234case SyntaxKind.SizeOfExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (1)
609=> (syntaxKind is SyntaxKind.TypeOfExpression or SyntaxKind.DefaultExpression or SyntaxKind.SizeOfExpression);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (2)
920if (token.IsKind(SyntaxKind.OpenParenToken) && token.Parent.IsKind(SyntaxKind.SizeOfExpression)) 2402if (token.Parent is (kind: SyntaxKind.TypeOfExpression or SyntaxKind.DefaultExpression or SyntaxKind.SizeOfExpression))