71 references to CSharpContentType
Microsoft.CodeAnalysis.CSharp.EditorFeatures (21)
AddImports\CSharpAddImportsPasteCommandHandler.cs (1)
19
[ContentType(ContentTypeNames.
CSharpContentType
)]
AutomaticCompletion\AutomaticLineEnderCommandHandler.cs (1)
38
[ContentType(ContentTypeNames.
CSharpContentType
)]
BlockCommentEditing\BlockCommentEditingCommandHandler.cs (1)
29
[ContentType(ContentTypeNames.
CSharpContentType
)]
BlockCommentEditing\CloseBlockCommentCommandHandler.cs (1)
18
[ContentType(ContentTypeNames.
CSharpContentType
)]
ChangeSignature\CSharpChangeSignatureCommandHandler.cs (1)
17
[ContentType(ContentTypeNames.
CSharpContentType
)]
CommentSelection\CSharpToggleBlockCommentCommandHandler.cs (1)
27
[ContentType(ContentTypeNames.
CSharpContentType
)]
CompleteStatement\CompleteStatementCommandHandler.cs (1)
36
[ContentType(ContentTypeNames.
CSharpContentType
)]
ContentType\ContentTypeDefinitions.cs (1)
16
[Name(ContentTypeNames.
CSharpContentType
)]
ConvertNamespace\ConvertNamespaceCommandHandler.cs (1)
34
[ContentType(ContentTypeNames.
CSharpContentType
)]
DocumentationComments\DocumentationCommentCommandHandler.cs (1)
21
[ContentType(ContentTypeNames.
CSharpContentType
)]
DocumentationComments\XmlTagCompletionCommandHandler.cs (1)
24
[ContentType(ContentTypeNames.
CSharpContentType
)]
EncapsulateField\EncapsulateFieldCommandHandler.cs (1)
19
[ContentType(ContentTypeNames.
CSharpContentType
)]
EventHookup\EventHookupCommandHandler.cs (1)
38
[ContentType(ContentTypeNames.
CSharpContentType
)]
ExtractInterface\ExtractInterfaceCommandHandler.cs (1)
18
[ContentType(ContentTypeNames.
CSharpContentType
)]
FixInterpolatedVerbatimString\FixInterpolatedVerbatimStringCommandHandler.cs (1)
25
[ContentType(ContentTypeNames.
CSharpContentType
)]
LanguageServices\CSharpContentTypeLanguageService.cs (2)
12
[ExportContentTypeLanguageService(ContentTypeNames.
CSharpContentType
, LanguageNames.CSharp), Shared]
23
=> _contentTypeRegistry.GetContentType(ContentTypeNames.
CSharpContentType
);
RawStringLiteral\RawStringLiteralCommandHandler.cs (1)
18
[ContentType(ContentTypeNames.
CSharpContentType
)]
SplitStringLiteral\SplitStringLiteralCommandHandler.cs (1)
26
[ContentType(ContentTypeNames.
CSharpContentType
)]
StringCopyPaste\StringCopyPasteCommandHandler.cs (1)
49
[ContentType(ContentTypeNames.
CSharpContentType
)]
TextStructureNavigation\CSharpTextStructureNavigatorProvider.cs (1)
19
[ContentType(ContentTypeNames.
CSharpContentType
)]
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (13)
AutomaticCompletion\AutomaticLineEnderTests.cs (1)
3249
ContentTypeNames.
CSharpContentType
,
BlockCommentEditing\BlockCommentEditingTests.cs (1)
732
=> Assert.IsType<BlockCommentEditingCommandHandler>(workspace.GetService<ICommandHandler>(ContentTypeNames.
CSharpContentType
, nameof(BlockCommentEditingCommandHandler)));
BlockCommentEditing\CloseBlockCommentTests.cs (1)
376
=> Assert.IsType<CloseBlockCommentCommandHandler>(workspace.GetService<ICommandHandler>(ContentTypeNames.
CSharpContentType
, nameof(CloseBlockCommentCommandHandler)));
ChangeSignature\RemoveParametersTests.cs (1)
374
var handler = workspace.ExportProvider.GetCommandHandler<CSharpChangeSignatureCommandHandler>(PredefinedCommandHandlerNames.ChangeSignature, ContentTypeNames.
CSharpContentType
);
DocumentationComments\DocumentationCommentTests.cs (1)
2405
return workspace.ExportProvider.GetCommandHandler<DocumentationCommentCommandHandler>(PredefinedCommandHandlerNames.DocumentationComments, ContentTypeNames.
CSharpContentType
);
DocumentationComments\XmlTagCompletionTests.cs (1)
260
=> workspace.ExportProvider.GetCommandHandler<XmlTagCompletionCommandHandler>(nameof(XmlTagCompletionCommandHandler), ContentTypeNames.
CSharpContentType
);
EncapsulateField\EncapsulateFieldCommandHandlerTests.cs (1)
206
var handler = workspace.ExportProvider.GetCommandHandler<EncapsulateFieldCommandHandler>(PredefinedCommandHandlerNames.EncapsulateField, ContentTypeNames.
CSharpContentType
);
EncapsulateField\EncapsulateFieldTestState.cs (1)
55
var commandHandler = Workspace.ExportProvider.GetCommandHandler<EncapsulateFieldCommandHandler>(PredefinedCommandHandlerNames.EncapsulateField, ContentTypeNames.
CSharpContentType
);
ExtractInterface\ExtractInterfaceTests.cs (1)
1443
var handler = workspace.ExportProvider.GetCommandHandler<ExtractInterfaceCommandHandler>(PredefinedCommandHandlerNames.ExtractInterface, ContentTypeNames.
CSharpContentType
);
ExtractMethod\ExtractMethodTests.cs (1)
11279
var handler = workspace.ExportProvider.GetCommandHandler<ExtractMethodCommandHandler>(PredefinedCommandHandlerNames.ExtractMethod, ContentTypeNames.
CSharpContentType
);
ExtractMethod\MiscTests.cs (1)
139
var handler = workspace.ExportProvider.GetCommandHandler<ExtractMethodCommandHandler>(PredefinedCommandHandlerNames.ExtractMethod, ContentTypeNames.
CSharpContentType
);
TextStructureNavigation\TextStructureNavigatorTests.cs (2)
23
protected override string ContentType => ContentTypeNames.
CSharpContentType
;
469
workspace.GetService<ITextStructureNavigatorProvider>(ContentTypeNames.
CSharpContentType
));
Microsoft.CodeAnalysis.EditorFeatures (10)
Classification\CopyPasteAndPrintingClassificationBufferTaggerProvider.cs (1)
28
[ContentType(ContentTypeNames.
CSharpContentType
)]
EditAndContinue\ActiveStatementTaggerProvider.cs (1)
35
[ContentType(ContentTypeNames.
CSharpContentType
)]
ExtractMethod\ExtractMethodCommandHandler.cs (1)
40
[ContentType(ContentTypeNames.
CSharpContentType
)]
KeywordHighlighting\HighlighterViewTaggerProvider.cs (1)
34
[ContentType(ContentTypeNames.
CSharpContentType
)]
LanguageServer\AlwaysActivateInProcLanguageClient.cs (1)
31
[ContentType(ContentTypeNames.
CSharpContentType
)]
LanguageServer\AlwaysActiveLanguageClientEventListener.cs (1)
69
ContentTypeNames.
CSharpContentType
,
LanguageServer\LiveShareInProcLanguageClient.cs (1)
25
[ContentType(ContentTypeNames.
CSharpContentType
)]
LanguageServer\RazorInProcLanguageClient.cs (1)
36
[ContentType(ContentTypeNames.
CSharpContentType
)]
Organizing\OrganizeDocumentCommandHandler.cs (1)
31
[ContentType(ContentTypeNames.
CSharpContentType
)]
SmartIndent\SmartIndentProvider.cs (1)
15
[ContentType(ContentTypeNames.
CSharpContentType
)]
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (1)
Snippets\CSharpSnippets\SnippetCommandHandler.cs (1)
30
[ContentType(CodeAnalysis.Editor.ContentTypeNames.
CSharpContentType
)]
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
CommentSelection\AbstractToggleCommentTestBase.cs (1)
64
var originalSubjectBuffer = GetBufferForContentType(ContentTypeNames.
CSharpContentType
, textView);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Preview\PreviewWorkspaceTests.cs (2)
187
var leftBuffer = diffView.Viewer.LeftView.BufferGraph.GetTextBuffers(t => t.ContentType.IsOfType(ContentTypeNames.
CSharpContentType
)).First();
188
var rightBuffer = diffView.Viewer.RightView.BufferGraph.GetTextBuffers(t => t.ContentType.IsOfType(ContentTypeNames.
CSharpContentType
)).First();
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
LineSeparators\LineSeparatorTaggerProvider.cs (1)
41
[ContentType(ContentTypeNames.
CSharpContentType
)]
StringIndentation\StringIndentationTaggerProvider.cs (1)
37
[VisualStudio.Utilities.ContentType(ContentTypeNames.
CSharpContentType
)]
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
IntelliSense\CSharpCompletionCommandHandlerTests.vb (1)
4363
Dim contentType = contentTypeService.GetContentType(ContentTypeNames.
CSharpContentType
)
Microsoft.VisualStudio.LanguageServices (4)
CallHierarchy\CallHierarchyCommandHandler.cs (1)
31
[ContentType(ContentTypeNames.
CSharpContentType
)]
CodeLens\CodeLensCallbackListener.cs (1)
32
[ContentType(ContentTypeNames.
CSharpContentType
)]
InheritanceMargin\InheritanceMarginViewMarginProvider.cs (1)
24
[ContentType(ContentTypeNames.
CSharpContentType
)]
Interactive\CSharpResetInteractiveMenuCommand.cs (1)
24
: base(ContentTypeNames.
CSharpContentType
, menuCommandService, monitorSelection, componentModel, threadingContext)
Microsoft.VisualStudio.LanguageServices.CodeLens (1)
ReferenceCodeLensProvider.cs (1)
29
[ContentType(ContentTypeNames.
CSharpContentType
)]
Microsoft.VisualStudio.LanguageServices.CSharp (13)
Interactive\CSharpInteractiveCommandHandler.cs (1)
21
[ExportInteractive(typeof(IExecuteInInteractiveCommandHandler), ContentTypeNames.
CSharpContentType
)]
Interactive\CSharpVsInteractiveWindowCommandProvider.cs (1)
21
[ContentType(ContentTypeNames.
CSharpContentType
)]
Interactive\CSharpVsInteractiveWindowProvider.cs (1)
75
contentTypeRegistry.GetContentType(ContentTypeNames.
CSharpContentType
),
Interactive\CSharpVsResetInteractiveCommand.cs (1)
16
[ExportInteractive(typeof(IResetInteractiveCommand), ContentTypeNames.
CSharpContentType
)]
LanguageService\CSharpCodeCleanupFixer.cs (1)
19
[ContentType(ContentTypeNames.
CSharpContentType
)]
LanguageService\CSharpCodeCleanupFixerProvider.cs (1)
18
[ContentType(ContentTypeNames.
CSharpContentType
)]
LanguageService\CSharpCreateServicesOnTextViewConnection.cs (1)
25
[ContentType(ContentTypeNames.
CSharpContentType
)]
LanguageService\CSharpDebuggerIntelliSenseContext.cs (2)
44
componentModel.GetService<IContentTypeRegistryService>().GetContentType(ContentTypeNames.
CSharpContentType
))
59
componentModel.GetService<IContentTypeRegistryService>().GetContentType(ContentTypeNames.
CSharpContentType
),
LanguageService\CSharpEditorFactory.cs (1)
29
protected override string ContentTypeName => ContentTypeNames.
CSharpContentType
;
LanguageService\CSharpLanguageService.cs (1)
46
return ContentTypeNames.
CSharpContentType
;
ObjectBrowser\CSharpSyncClassViewCommandHandler.cs (1)
19
[ContentType(ContentTypeNames.
CSharpContentType
)]
Snippets\SnippetCommandHandler.cs (1)
37
[ContentType(Microsoft.CodeAnalysis.Editor.ContentTypeNames.
CSharpContentType
)]
Microsoft.VisualStudio.LanguageServices.Implementation (1)
Options\AbstractOptionPreviewViewModel.cs (1)
68
_contentType = _contentTypeRegistryService.GetContentType(ContentTypeNames.
CSharpContentType
);
Microsoft.VisualStudio.LanguageServices.LiveShare (1)
Client\Razor\CSharpLspContainedLanguageProvider.cs (1)
37
=> _contentTypeRegistry.GetContentType(ContentTypeNames.
CSharpContentType
);