45 references to LockStatement
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Statements.cs (2)
138case SyntaxKind.LockStatement: 330case SyntaxKind.LockStatement:
Binder\ExpressionVariableFinder.cs (1)
45case SyntaxKind.LockStatement:
Binder\LocalBinderFactory.cs (1)
952case SyntaxKind.LockStatement:
Binder\LocalScopeBinder.cs (1)
238case SyntaxKind.LockStatement:
Binder\LockOrUsingBinder.cs (1)
44Debug.Assert(targetExpressionSyntax.Parent.Kind() == SyntaxKind.LockStatement ||
Lowering\Instrumentation\Instrumenter.cs (1)
244Debug.Assert(original.Syntax.Kind() == SyntaxKind.LockStatement);
Symbols\Source\SourceMemberContainerSymbol.cs (1)
4950case SyntaxKind.LockStatement:
Syntax\LambdaUtilities.cs (1)
410case SyntaxKind.LockStatement:
Syntax\LookupPosition.cs (2)
346case SyntaxKind.LockStatement: 411case SyntaxKind.LockStatement:
Microsoft.CodeAnalysis.CSharp.CodeStyle (7)
CSharpAddBracesDiagnosticAnalyzer.cs (2)
42SyntaxKind.LockStatement, 77case SyntaxKind.LockStatement:
CSharpSyntaxKinds.cs (1)
134public int LockStatement => (int)SyntaxKind.LockStatement;
ExpressionSyntaxExtensions.cs (1)
573case SyntaxKind.LockStatement:
FormattingRangeHelper.cs (1)
369SyntaxKind.LockStatement or
NewLineUserSettingFormattingRule.cs (1)
64case SyntaxKind.LockStatement:
SpacingFormattingRule.cs (1)
613SyntaxKind.CatchDeclaration or SyntaxKind.UsingStatement or SyntaxKind.LockStatement or
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs\SyntaxTokenExtensions.cs (1)
168parent.IsKind(SyntaxKind.LockStatement) ||
Microsoft.CodeAnalysis.CSharp.Features (16)
BraceCompletion\CurlyBraceCompletionService.cs (1)
227case SyntaxKind.LockStatement:
CSharpAddBracesDiagnosticAnalyzer.cs (2)
42SyntaxKind.LockStatement, 77case SyntaxKind.LockStatement:
Debugging\CSharpProximityExpressionsService.Worker.cs (2)
212case SyntaxKind.LockStatement: 273case SyntaxKind.LockStatement:
EditAndContinue\BreakpointSpans.cs (1)
536case SyntaxKind.LockStatement:
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (5)
1052case SyntaxKind.LockStatement: 1740case SyntaxKind.LockStatement: 2118case SyntaxKind.LockStatement: 2809case SyntaxKind.LockStatement: 3039ReportUnmatchedStatements<LockStatementSyntax>(diagnostics, match, n => n.IsKind(SyntaxKind.LockStatement), oldActiveStatement, newActiveStatement,
EditAndContinue\SyntaxComparer.cs (3)
405case SyntaxKind.LockStatement: 841case SyntaxKind.LockStatement: 1053case SyntaxKind.LockStatement:
LambdaUtilities.cs (1)
410case SyntaxKind.LockStatement:
Structure\Providers\BlockSyntaxStructureProvider.cs (1)
147case SyntaxKind.LockStatement: return BlockTypes.Statement;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Parsing\StatementAttributeParsingTests.cs (1)
2115N(SyntaxKind.LockStatement);
Parsing\StatementParsingTests.cs (1)
2101Assert.Equal(SyntaxKind.LockStatement, statement.Kind());
Microsoft.CodeAnalysis.CSharp.Workspaces (7)
CSharpSyntaxKinds.cs (1)
134public int LockStatement => (int)SyntaxKind.LockStatement;
FormattingRangeHelper.cs (1)
369SyntaxKind.LockStatement or
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs\ExpressionSyntaxExtensions.cs (1)
573case SyntaxKind.LockStatement:
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs\SyntaxTokenExtensions.cs (1)
168parent.IsKind(SyntaxKind.LockStatement) ||
NewLineUserSettingFormattingRule.cs (1)
64case SyntaxKind.LockStatement:
Simplification\Reducers\CSharpMiscellaneousReducer.cs (1)
192case SyntaxKind.LockStatement:
SpacingFormattingRule.cs (1)
613SyntaxKind.CatchDeclaration or SyntaxKind.UsingStatement or SyntaxKind.LockStatement or
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\ControlFlowGraphVerifier.cs (1)
1188case CSharp.SyntaxKind.LockStatement: