84 references to NotePartComplete
Microsoft.CodeAnalysis.CSharp (84)
Compilation\CSharpCompilation.UsingsFromOptionsAndDiagnostics.cs (3)
96if (_state.NotePartComplete(CompletionPart.StartValidatingImports)) 99_state.NotePartComplete(CompletionPart.FinishValidatingImports); 116_state.NotePartComplete(CompletionPart.All & ~CompletionPart.ImportsAll);
Symbols\AliasSymbol.cs (1)
332_state.NotePartComplete(CompletionPart.AliasTarget);
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (1)
91var completed = state.NotePartComplete(CompletionPart.Attributes);
Symbols\Source\GlobalExpressionVariable.cs (1)
143state.NotePartComplete(CompletionPart.Type);
Symbols\Source\ImplicitNamedTypeSymbol.cs (2)
28state.NotePartComplete(CompletionPart.EnumUnderlyingType); // No work to do for this. 36state.NotePartComplete(CompletionPart.Attributes);
Symbols\Source\SourceAssemblySymbol.cs (7)
918if (_state.NotePartComplete(CompletionPart.StartAttributeChecks)) 923var thisThreadCompleted = _state.NotePartComplete(CompletionPart.FinishAttributeChecks); 932_state.NotePartComplete(CompletionPart.Module); 944if (_state.NotePartComplete(CompletionPart.StartValidatingAddedModules)) 947var thisThreadCompleted = _state.NotePartComplete(CompletionPart.FinishValidatingAddedModules); 957_state.NotePartComplete(CompletionPart.All & ~CompletionPart.AssemblySymbolAll); 1571_state.NotePartComplete(CompletionPart.Attributes);
Symbols\Source\SourceComplexParameterSymbol.cs (6)
245if (state.NotePartComplete(CompletionPart.StartDefaultSyntaxValue)) 255var completedOnThisThread = state.NotePartComplete(CompletionPart.EndDefaultSyntaxValue); 284completedOnThisThread = state.NotePartComplete(CompletionPart.EndDefaultSyntaxValueDiagnostics); 606state.NotePartComplete(CompletionPart.Attributes); 1530if (state.NotePartComplete(CompletionPart.StartMiscValidation)) 1548bool completedOnThisThread = state.NotePartComplete(CompletionPart.EndMiscValidation);
Symbols\Source\SourceEnumConstantSymbol.cs (3)
118state.NotePartComplete(CompletionPart.Type); 123state.NotePartComplete(CompletionPart.FixedSize); 135state.NotePartComplete(CompletionPart.All & ~CompletionPart.FieldSymbolAll);
Symbols\Source\SourceEventSymbol.cs (1)
197var wasCompletedThisThread = _state.NotePartComplete(CompletionPart.Attributes);
Symbols\Source\SourceFieldSymbol.cs (1)
375var wasSetThisThread = this.state.NotePartComplete(CompletionPart.ConstantValue);
Symbols\Source\SourceFixedFieldSymbol.cs (1)
130state.NotePartComplete(CompletionPart.FixedSize);
Symbols\Source\SourceMemberContainerSymbol.cs (13)
268state.NotePartComplete(CompletionPart.TypeArguments); // type arguments need not be computed separately 558if (state.NotePartComplete(CompletionPart.StartBaseType)) 563state.NotePartComplete(CompletionPart.FinishBaseType); 570if (state.NotePartComplete(CompletionPart.StartInterfaces)) 575state.NotePartComplete(CompletionPart.FinishInterfaces); 598state.NotePartComplete(CompletionPart.TypeParameters); 615if (state.NotePartComplete(CompletionPart.StartMemberChecks)) 623var thisThreadCompleted = state.NotePartComplete(CompletionPart.FinishMemberChecks); 665if (state.NotePartComplete(CompletionPart.MembersCompletedChecksStarted)) 673var thisThreadCompleted = state.NotePartComplete(CompletionPart.MembersCompleted); 687state.NotePartComplete(CompletionPart.All & ~CompletionPart.NamedTypeSymbolAll); 1309state.NotePartComplete(CompletionPart.TypeMembers); 1765state.NotePartComplete(CompletionPart.Members);
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
61state.NotePartComplete(CompletionPart.SynthesizedExplicitImplementations);
Symbols\Source\SourceMemberFieldSymbol.cs (3)
160state.NotePartComplete(CompletionPart.FixedSize); 304state.NotePartComplete(CompletionPart.All & ~CompletionPart.FieldSymbolAll); 602state.NotePartComplete(CompletionPart.Type);
Symbols\Source\SourceMemberMethodSymbol.cs (9)
445if (state.NotePartComplete(CompletionPart.StartMethodChecks)) 457state.NotePartComplete(CompletionPart.FinishMethodChecks); 488state.NotePartComplete(CompletionPart.StartAsyncMethodChecks); 489state.NotePartComplete(CompletionPart.FinishAsyncMethodChecks); 893state.NotePartComplete(CompletionPart.Type); 902state.NotePartComplete(CompletionPart.Parameters); 911state.NotePartComplete(CompletionPart.TypeParameters); 929state.NotePartComplete(CompletionPart.All & ~CompletionPart.MethodSymbolAll); 947state.NotePartComplete(part);
Symbols\Source\SourceModuleSymbol.cs (5)
247if (_state.NotePartComplete(CompletionPart.StartValidatingReferencedAssemblies)) 254_state.NotePartComplete(CompletionPart.FinishValidatingReferencedAssemblies); 279_state.NotePartComplete(CompletionPart.MembersCompleted); 294_state.NotePartComplete(incompletePart); 513var completed = _state.NotePartComplete(CompletionPart.Attributes);
Symbols\Source\SourceNamedTypeSymbol.cs (1)
845var completed = state.NotePartComplete(CompletionPart.Attributes);
Symbols\Source\SourceNamedTypeSymbol_Enum.cs (1)
35this.state.NotePartComplete(CompletionPart.EnumUnderlyingType);
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (6)
934if (_state.NotePartComplete(CompletionPart.StartValidatingImports)) 937_state.NotePartComplete(CompletionPart.FinishValidatingImports); 954_state.NotePartComplete(CompletionPart.All & ~CompletionPart.ImportsAll); 1159if (_state.NotePartComplete(CompletionPart.StartValidatingImports)) 1168_state.NotePartComplete(CompletionPart.FinishValidatingImports); 1185_state.NotePartComplete(CompletionPart.All & ~CompletionPart.ImportsAll);
Symbols\Source\SourceNamespaceSymbol.cs (1)
238var wasSetThisThread = _state.NotePartComplete(CompletionPart.NameToMembersMap);
Symbols\Source\SourceNamespaceSymbol_Completion.cs (2)
87_state.NotePartComplete(CompletionPart.MembersCompleted); 103_state.NotePartComplete(CompletionPart.All & ~CompletionPart.NamespaceSymbolAll);
Symbols\Source\SourceOrdinaryMethodSymbolBase.cs (2)
61if (state.NotePartComplete(CompletionPart.StartAsyncMethodChecks)) 69state.NotePartComplete(CompletionPart.FinishAsyncMethodChecks);
Symbols\Source\SourcePropertySymbolBase.cs (8)
386if (_state.NotePartComplete(CompletionPart.StartPropertyEnsureSignature)) 398_state.NotePartComplete(CompletionPart.FinishPropertyEnsureSignature); 1308var completed = _state.NotePartComplete(CompletionPart.Attributes); 1753if (_state.NotePartComplete(CompletionPart.StartPropertyParameters)) 1781var completedOnThisThread = _state.NotePartComplete(CompletionPart.FinishPropertyParameters); 1795if (_state.NotePartComplete(CompletionPart.StartPropertyType)) 1804var completedOnThisThread = _state.NotePartComplete(CompletionPart.FinishPropertyType); 1821_state.NotePartComplete(CompletionPart.All & ~CompletionPart.PropertySymbolAll);
Symbols\Source\SourceSimpleParameterSymbol.cs (1)
151state.NotePartComplete(CompletionPart.Attributes);
Symbols\Source\SourceTypeParameterSymbol.cs (3)
201_state.NotePartComplete(CompletionPart.Attributes); 237_state.NotePartComplete(CompletionPart.TypeParameterConstraints); 377_state.NotePartComplete(CompletionPart.All & ~CompletionPart.TypeParameterSymbolAll);
Symbols\SymbolCompletionState.cs (1)
73NotePartComplete(CompletionPart.All);