193 references to ContentTypeNames
Microsoft.CodeAnalysis.CSharp.EditorFeatures (23)
AddImports\CSharpAddImportsPasteCommandHandler.cs (1)
19
[ContentType(
ContentTypeNames
.CSharpContentType)]
AutomaticCompletion\AutomaticLineEnderCommandHandler.cs (1)
36
[ContentType(
ContentTypeNames
.CSharpContentType)]
BlockCommentEditing\BlockCommentEditingCommandHandler.cs (1)
29
[ContentType(
ContentTypeNames
.CSharpContentType)]
BlockCommentEditing\CloseBlockCommentCommandHandler.cs (1)
18
[ContentType(
ContentTypeNames
.CSharpContentType)]
ChangeSignature\CSharpChangeSignatureCommandHandler.cs (1)
16
[ContentType(
ContentTypeNames
.CSharpContentType)]
CommentSelection\CSharpToggleBlockCommentCommandHandler.cs (1)
25
[ContentType(
ContentTypeNames
.CSharpContentType)]
CompleteStatement\CompleteStatementCommandHandler.cs (1)
36
[ContentType(
ContentTypeNames
.CSharpContentType)]
ContentType\ContentTypeDefinitions.cs (3)
16
[Name(
ContentTypeNames
.CSharpContentType)]
17
[BaseDefinition(
ContentTypeNames
.RoslynContentType)]
25
[Name(
ContentTypeNames
.CSharpSignatureHelpContentType)]
ConvertNamespace\ConvertNamespaceCommandHandler.cs (1)
34
[ContentType(
ContentTypeNames
.CSharpContentType)]
DocumentationComments\DocumentationCommentCommandHandler.cs (1)
18
[ContentType(
ContentTypeNames
.CSharpContentType)]
DocumentationComments\XmlTagCompletionCommandHandler.cs (1)
18
[ContentType(
ContentTypeNames
.CSharpContentType)]
EncapsulateField\EncapsulateFieldCommandHandler.cs (1)
18
[ContentType(
ContentTypeNames
.CSharpContentType)]
EventHookup\EventHookupCommandHandler.cs (1)
38
[ContentType(
ContentTypeNames
.CSharpContentType)]
ExtractInterface\ExtractInterfaceCommandHandler.cs (1)
17
[ContentType(
ContentTypeNames
.CSharpContentType)]
FixInterpolatedVerbatimString\FixInterpolatedVerbatimStringCommandHandler.cs (1)
25
[ContentType(
ContentTypeNames
.CSharpContentType)]
LanguageServices\CSharpContentTypeLanguageService.cs (2)
12
[ExportContentTypeLanguageService(
ContentTypeNames
.CSharpContentType, LanguageNames.CSharp), Shared]
20
=> _contentTypeRegistry.GetContentType(
ContentTypeNames
.CSharpContentType);
RawStringLiteral\RawStringLiteralCommandHandler.cs (1)
17
[ContentType(
ContentTypeNames
.CSharpContentType)]
SplitStringLiteral\SplitStringLiteralCommandHandler.cs (1)
26
[ContentType(
ContentTypeNames
.CSharpContentType)]
StringCopyPaste\StringCopyPasteCommandHandler.cs (1)
47
[ContentType(
ContentTypeNames
.CSharpContentType)]
TextStructureNavigation\CSharpTextStructureNavigatorProvider.cs (1)
20
[ContentType(
ContentTypeNames
.CSharpContentType)]
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (13)
AutomaticCompletion\AutomaticLineEnderTests.cs (1)
3431
ContentTypeNames
.CSharpContentType,
BlockCommentEditing\BlockCommentEditingTests.cs (1)
536
=> Assert.IsType<BlockCommentEditingCommandHandler>(workspace.GetService<ICommandHandler>(
ContentTypeNames
.CSharpContentType, nameof(BlockCommentEditingCommandHandler)));
BlockCommentEditing\CloseBlockCommentTests.cs (1)
280
=> Assert.IsType<CloseBlockCommentCommandHandler>(workspace.GetService<ICommandHandler>(
ContentTypeNames
.CSharpContentType, nameof(CloseBlockCommentCommandHandler)));
ChangeSignature\RemoveParametersTests.cs (1)
382
var handler = workspace.ExportProvider.GetCommandHandler<CSharpChangeSignatureCommandHandler>(PredefinedCommandHandlerNames.ChangeSignature,
ContentTypeNames
.CSharpContentType);
DocumentationComments\DocumentationCommentTests.cs (1)
2064
return workspace.ExportProvider.GetCommandHandler<DocumentationCommentCommandHandler>(PredefinedCommandHandlerNames.DocumentationComments,
ContentTypeNames
.CSharpContentType);
DocumentationComments\XmlTagCompletionTests.cs (1)
20
=> workspace.ExportProvider.GetCommandHandler<XmlTagCompletionCommandHandler>(nameof(XmlTagCompletionCommandHandler),
ContentTypeNames
.CSharpContentType);
EncapsulateField\EncapsulateFieldCommandHandlerTests.cs (1)
205
var handler = workspace.ExportProvider.GetCommandHandler<EncapsulateFieldCommandHandler>(PredefinedCommandHandlerNames.EncapsulateField,
ContentTypeNames
.CSharpContentType);
EncapsulateField\EncapsulateFieldTestState.cs (1)
58
var commandHandler = Workspace.ExportProvider.GetCommandHandler<EncapsulateFieldCommandHandler>(PredefinedCommandHandlerNames.EncapsulateField,
ContentTypeNames
.CSharpContentType);
ExtractInterface\ExtractInterfaceTests.cs (1)
1215
var handler = workspace.ExportProvider.GetCommandHandler<ExtractInterfaceCommandHandler>(PredefinedCommandHandlerNames.ExtractInterface,
ContentTypeNames
.CSharpContentType);
ExtractMethod\ExtractMethodMiscellaneousTests.cs (1)
135
var handler = workspace.ExportProvider.GetCommandHandler<ExtractMethodCommandHandler>(PredefinedCommandHandlerNames.ExtractMethod,
ContentTypeNames
.CSharpContentType);
ExtractMethod\ExtractMethodTests.cs (1)
10082
var handler = workspace.ExportProvider.GetCommandHandler<ExtractMethodCommandHandler>(PredefinedCommandHandlerNames.ExtractMethod,
ContentTypeNames
.CSharpContentType);
TextStructureNavigation\TextStructureNavigatorTests.cs (2)
23
protected override string ContentType =>
ContentTypeNames
.CSharpContentType;
472
workspace.GetService<ITextStructureNavigatorProvider>(
ContentTypeNames
.CSharpContentType));
Microsoft.CodeAnalysis.EditorFeatures (111)
AutomaticCompletion\BraceCompletionSessionProvider.cs (1)
26
[ContentType(
ContentTypeNames
.RoslynContentType)]
BraceMatching\BraceHighlightingViewTaggerProvider.cs (1)
25
[ContentType(
ContentTypeNames
.RoslynContentType)]
BracePairs\BracePairsTaggerProvider.cs (1)
28
[VisualStudio.Utilities.ContentType(
ContentTypeNames
.RoslynContentType)]
Classification\CopyPasteAndPrintingClassificationBufferTaggerProvider.cs (2)
31
[ContentType(
ContentTypeNames
.CSharpContentType)]
32
[ContentType(
ContentTypeNames
.VisualBasicContentType)]
Classification\TotalClassificationTaggerProvider.cs (1)
28
[Microsoft.VisualStudio.Utilities.ContentType(
ContentTypeNames
.RoslynContentType)]
CodeDefinitionWindow\DefinitionContextTracker.cs (3)
38
[ContentType(
ContentTypeNames
.RoslynContentType)]
92
textView.BufferGraph.GetTextBuffers(b => b.ContentType.IsOfType(
ContentTypeNames
.RoslynContentType)).Count == 0)
111
var pointInRoslynSnapshot = caretPosition.Point.GetPoint(tb => tb.ContentType.IsOfType(
ContentTypeNames
.RoslynContentType), caretPosition.Affinity);
CommentSelection\CommentUncommentSelectionCommandHandler.cs (1)
27
[VisualStudio.Utilities.ContentType(
ContentTypeNames
.RoslynContentType)]
CommentSelection\ToggleBlockCommentCommandHandler.cs (1)
22
[VisualStudio.Utilities.ContentType(
ContentTypeNames
.RoslynContentType)]
CommentSelection\ToggleLineCommentCommandHandler.cs (1)
31
[VisualStudio.Utilities.ContentType(
ContentTypeNames
.RoslynContentType)]
Copilot\CopilotTaggerProvider.cs (1)
32
[VisualStudio.Utilities.ContentType(
ContentTypeNames
.RoslynContentType)]
Copilot\CopilotWpfTextCreationListener.cs (1)
27
[ContentType(
ContentTypeNames
.RoslynContentType)]
EditAndContinue\ActiveStatementTaggerProvider.cs (2)
27
[ContentType(
ContentTypeNames
.CSharpContentType)]
28
[ContentType(
ContentTypeNames
.VisualBasicContentType)]
Editor\ContentTypeDefinitions.cs (1)
18
[Name(
ContentTypeNames
.RoslynContentType)]
Editor\GoToAdjacentMemberCommandHandler.cs (1)
28
[ContentType(
ContentTypeNames
.RoslynContentType)]
Editor\TextBufferAssociatedViewService.cs (4)
22
[ContentType(
ContentTypeNames
.RoslynContentType)]
23
[ContentType(
ContentTypeNames
.XamlContentType)]
90
return contentType.IsOfType(
ContentTypeNames
.RoslynContentType) ||
91
contentType.IsOfType(
ContentTypeNames
.XamlContentType);
ExternalAccess\VSTypeScript\VSTypeScriptInProcLanguageClient.cs (2)
29
[ContentType(
ContentTypeNames
.TypeScriptContentTypeName)]
30
[ContentType(
ContentTypeNames
.JavaScriptContentTypeName)]
ExtractMethod\ExtractMethodCommandHandler.cs (2)
32
[ContentType(
ContentTypeNames
.CSharpContentType)]
33
[ContentType(
ContentTypeNames
.VisualBasicContentType)]
Formatting\FormatCommandHandler.cs (1)
32
[ContentType(
ContentTypeNames
.RoslynContentType)]
GoOrFind\FindReferences\FindReferencesCommandHandler.cs (1)
16
[ContentType(
ContentTypeNames
.RoslynContentType)]
GoOrFind\GoToBase\GoToBaseCommandHandler.cs (1)
17
[ContentType(
ContentTypeNames
.RoslynContentType)]
GoOrFind\GoToImplementation\GoToImplementationCommandHandler.cs (1)
17
[ContentType(
ContentTypeNames
.RoslynContentType)]
GoToDefinition\GoToDefinitionCommandHandler.cs (1)
29
[ContentType(
ContentTypeNames
.RoslynContentType)]
InlineDiagnostics\InlineDiagnosticsAdornmentManagerProvider.cs (2)
20
[ContentType(
ContentTypeNames
.RoslynContentType)]
30
[ContentType(
ContentTypeNames
.RoslynContentType)]
InlineDiagnostics\InlineDiagnosticsTaggerProvider.cs (1)
23
[ContentType(
ContentTypeNames
.RoslynContentType)]
InlineHints\InlineHintsKeyProcessorProvider.cs (1)
24
[ContentType(
ContentTypeNames
.RoslynContentType)]
InlineHints\InlineHintsTaggerProvider.cs (1)
28
[ContentType(
ContentTypeNames
.RoslynContentType)]
InlineRename\CommandHandlers\RenameCommandHandler.cs (2)
22
[ContentType(
ContentTypeNames
.RoslynContentType)]
23
[ContentType(
ContentTypeNames
.XamlContentType)]
InlineRename\Taggers\RenameClassificationTaggerProvider.cs (1)
18
[ContentType(
ContentTypeNames
.RoslynContentType)]
InlineRename\Taggers\RenameTaggerProvider.cs (2)
17
[ContentType(
ContentTypeNames
.RoslynContentType)]
18
[ContentType(
ContentTypeNames
.XamlContentType)]
InlineRename\UI\InlineRenameAdornmentProvider.cs (3)
23
[ContentType(
ContentTypeNames
.RoslynContentType)]
24
[ContentType(
ContentTypeNames
.XamlContentType)]
91
if (textView.BufferGraph.GetTextBuffers(b => b.ContentType.IsOfType(
ContentTypeNames
.RoslynContentType)).Any())
IntelliSense\AsyncCompletion\CommitManagerProvider.cs (1)
19
[ContentType(
ContentTypeNames
.RoslynContentType)]
IntelliSense\AsyncCompletion\CompletionSourceProvider.cs (1)
21
[ContentType(
ContentTypeNames
.RoslynContentType)]
IntelliSense\AsyncCompletion\ItemManagerProvider.cs (1)
18
[ContentType(
ContentTypeNames
.RoslynContentType)]
IntelliSense\QuickInfo\QuickInfoSourceProvider.cs (1)
21
[ContentType(
ContentTypeNames
.RoslynContentType)]
Interactive\CommandHandlers\ExecuteInInteractiveCommandHandler.cs (1)
28
[ContentType(
ContentTypeNames
.RoslynContentType)]
Interactive\InteractivePasteCommandHandler.cs (1)
31
[ContentType(
ContentTypeNames
.RoslynContentType)]
KeywordHighlighting\HighlighterViewTaggerProvider.cs (2)
30
[ContentType(
ContentTypeNames
.CSharpContentType)]
31
[ContentType(
ContentTypeNames
.VisualBasicContentType)]
LanguageServer\AlwaysActivateInProcLanguageClient.cs (3)
28
[ContentType(
ContentTypeNames
.CSharpContentType)]
29
[ContentType(
ContentTypeNames
.VisualBasicContentType)]
30
[ContentType(
ContentTypeNames
.FSharpContentType)]
LanguageServer\AlwaysActiveLanguageClientEventListener.cs (3)
83
ContentTypeNames
.CSharpContentType,
84
ContentTypeNames
.VisualBasicContentType,
85
ContentTypeNames
.FSharpContentType
LanguageServer\LiveShareInProcLanguageClient.cs (2)
22
[ContentType(
ContentTypeNames
.CSharpContentType)]
23
[ContentType(
ContentTypeNames
.VisualBasicContentType)]
LanguageServer\RazorInProcLanguageClient.cs (1)
37
[ContentType(
ContentTypeNames
.CSharpContentType)]
LineSeparators\LineSeparatorAdornmentManagerProvider.cs (2)
23
[ContentType(
ContentTypeNames
.RoslynContentType)]
32
[ContentType(
ContentTypeNames
.RoslynContentType)]
LineSeparators\LineSeparatorTaggerProvider.cs (2)
35
[ContentType(
ContentTypeNames
.CSharpContentType)]
36
[ContentType(
ContentTypeNames
.VisualBasicContentType)]
NavigableSymbols\NavigableSymbolService.cs (1)
19
[ContentType(
ContentTypeNames
.RoslynContentType)]
Organizing\OrganizeDocumentCommandHandler.cs (3)
31
[ContentType(
ContentTypeNames
.CSharpContentType)]
32
[ContentType(
ContentTypeNames
.VisualBasicContentType)]
33
[ContentType(
ContentTypeNames
.XamlContentType)]
PasteTracking\PasteTrackingPasteCommandHandler.cs (1)
20
[ContentType(
ContentTypeNames
.RoslynContentType)]
Peek\PeekableItemSourceProvider.cs (1)
16
[ContentType(
ContentTypeNames
.RoslynContentType)]
Preview\PreviewConflictViewTaggerProvider.cs (2)
20
[ContentType(
ContentTypeNames
.RoslynContentType)]
21
[ContentType(
ContentTypeNames
.XamlContentType)]
Preview\PreviewReferenceHighlightingTaggerProvider.cs (6)
25
[ContentType(
ContentTypeNames
.RoslynContentType)]
26
[ContentType(
ContentTypeNames
.XamlContentType)]
41
[ContentType(
ContentTypeNames
.RoslynContentType)]
42
[ContentType(
ContentTypeNames
.XamlContentType)]
57
[ContentType(
ContentTypeNames
.RoslynContentType)]
58
[ContentType(
ContentTypeNames
.XamlContentType)]
Preview\PreviewStaticClassificationTaggerProvider.cs (2)
30
[ContentType(
ContentTypeNames
.RoslynContentType)]
31
[ContentType(
ContentTypeNames
.XamlContentType)]
Preview\PreviewWarningViewTaggerProvider.cs (2)
20
[ContentType(
ContentTypeNames
.RoslynContentType)]
21
[ContentType(
ContentTypeNames
.XamlContentType)]
QuickInfo\Extensions.cs (1)
18
/// with <see cref="
ContentTypeNames
.RoslynContentType"/>
ReferenceHighlighting\NavigateToHighlightReferenceCommandHandler.cs (1)
26
[ContentType(
ContentTypeNames
.RoslynContentType)]
ReferenceHighlighting\ReferenceHighlightingViewTaggerProvider.cs (4)
33
[ContentType(
ContentTypeNames
.RoslynContentType)]
34
[ContentType(
ContentTypeNames
.XamlContentType)]
225
return contentType.IsOfType(
ContentTypeNames
.RoslynContentType) ||
226
contentType.IsOfType(
ContentTypeNames
.XamlContentType);
RenameTracking\RenameTrackingCancellationCommandHandler.cs (2)
17
[ContentType(
ContentTypeNames
.RoslynContentType)]
18
[ContentType(
ContentTypeNames
.XamlContentType)]
RenameTracking\RenameTrackingTaggerProvider.cs (2)
34
[ContentType(
ContentTypeNames
.RoslynContentType)]
35
[ContentType(
ContentTypeNames
.XamlContentType)]
Shared\Extensions\ITextViewExtensions.cs (1)
72
public static ITextBuffer? GetBufferContainingCaret(this ITextView textView, string contentType =
ContentTypeNames
.RoslynContentType)
SignatureHelp\Presentation\SignatureHelpClassifierProvider.cs (2)
18
[ContentType(
ContentTypeNames
.CSharpSignatureHelpContentType)]
19
[ContentType(
ContentTypeNames
.VisualBasicSignatureHelpContentType)]
SignatureHelp\Presentation\SignatureHelpPresenter.cs (1)
22
[ContentType(
ContentTypeNames
.RoslynContentType)]
SignatureHelp\SignatureHelpBeforeCompletionCommandHandler.cs (1)
31
[ContentType(
ContentTypeNames
.RoslynContentType)]
SmartIndent\SmartIndentProvider.cs (2)
15
[ContentType(
ContentTypeNames
.CSharpContentType)]
16
[ContentType(
ContentTypeNames
.VisualBasicContentType)]
SpellCheck\RoslynSpellCheckFixerProvider.cs (1)
25
[ContentType(
ContentTypeNames
.RoslynContentType)]
SplitComment\SplitCommentCommandHandler.cs (1)
27
[ContentType(
ContentTypeNames
.RoslynContentType)]
StringIndentation\StringIndentationAdornmentManagerProvider.cs (2)
23
[ContentType(
ContentTypeNames
.RoslynContentType)]
32
[ContentType(
ContentTypeNames
.RoslynContentType)]
StringIndentation\StringIndentationTaggerProvider.cs (2)
32
[VisualStudio.Utilities.ContentType(
ContentTypeNames
.CSharpContentType)]
33
[VisualStudio.Utilities.ContentType(
ContentTypeNames
.VisualBasicContentType)]
Structure\OutliningCommandHandler.cs (1)
16
[ContentType(
ContentTypeNames
.RoslynContentType)]
Structure\StructureTaggerProvider.cs (1)
26
[ContentType(
ContentTypeNames
.RoslynContentType)]
Suggestions\SuggestedActionsSourceProvider.cs (2)
28
[ContentType(
ContentTypeNames
.RoslynContentType)]
29
[ContentType(
ContentTypeNames
.XamlContentType)]
TypeForwarders.cs (1)
8
[assembly: TypeForwardedTo(typeof(Microsoft.CodeAnalysis.Editor.
ContentTypeNames
))]
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
CommentSelection\AbstractToggleCommentTestBase.cs (1)
59
var originalSubjectBuffer = GetBufferForContentType(
ContentTypeNames
.CSharpContentType, textView);
Workspaces\NoCompilationContentTypeDefinitions.cs (1)
19
[BaseDefinition(
ContentTypeNames
.RoslynContentType)]
Microsoft.CodeAnalysis.EditorFeatures.Text (2)
Implementation\TextBufferFactoryService\ITextBufferCloneService.cs (1)
28
/// get new <see cref="ITextBuffer"/> from <see cref="SourceText"/> with <see cref="
ContentTypeNames
.RoslynContentType"/>
Implementation\TextBufferFactoryService\TextBufferCloneServiceFactory.cs (1)
29
_roslynContentType = contentTypeRegistryService.GetContentType(
ContentTypeNames
.RoslynContentType);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
TextEditor\TextBufferAssociatedViewServiceTests.cs (1)
29
contentType.Setup(c => c.IsOfType(
ContentTypeNames
.RoslynContentType)).Returns(true);
Microsoft.CodeAnalysis.ExternalAccess.FSharp (4)
Editor\FSharpContentTypeNames.cs (3)
11
public const string RoslynContentType = Microsoft.CodeAnalysis.Editor.
ContentTypeNames
.RoslynContentType;
12
public const string FSharpContentType = CodeAnalysis.Editor.
ContentTypeNames
.FSharpContentType;
13
public const string FSharpSignatureHelpContentType = CodeAnalysis.Editor.
ContentTypeNames
.FSharpSignatureHelpContentType;
Internal\Editor\FSharpSmartIndentProvider.cs (1)
25
[ContentType(
ContentTypeNames
.FSharpContentType)]
Microsoft.VisualStudio.LanguageServices (13)
CallHierarchy\CallHierarchyCommandHandler.cs (2)
27
[ContentType(
ContentTypeNames
.CSharpContentType)]
28
[ContentType(
ContentTypeNames
.VisualBasicContentType)]
CodeLens\CodeLensCallbackListener.cs (2)
35
[ContentType(
ContentTypeNames
.CSharpContentType)]
36
[ContentType(
ContentTypeNames
.VisualBasicContentType)]
HACK_ThemeColorFixer.cs (1)
28
[ContentType(
ContentTypeNames
.RoslynContentType)]
InheritanceMargin\InheritanceGlyphFactoryProvider.cs (1)
23
[ContentType(
ContentTypeNames
.RoslynContentType)]
InheritanceMargin\InheritanceMarginTaggerProvider.cs (1)
32
[ContentType(
ContentTypeNames
.RoslynContentType)]
InheritanceMargin\InheritanceMarginViewMarginProvider.cs (2)
23
[ContentType(
ContentTypeNames
.CSharpContentType)]
24
[ContentType(
ContentTypeNames
.VisualBasicContentType)]
Interactive\ScriptingOleCommandTarget.cs (1)
30
var result = WpfTextView.GetBufferContainingCaret(contentType:
ContentTypeNames
.RoslynContentType);
Preview\Tagging\PreviewTaggerProvider.cs (2)
20
[ContentType(
ContentTypeNames
.RoslynContentType)]
21
[ContentType(
ContentTypeNames
.XamlContentType)]
ValueTracking\ValueTrackingCommandHandler.cs (1)
34
[ContentType(
ContentTypeNames
.RoslynContentType)]
Microsoft.VisualStudio.LanguageServices.CodeLens (2)
ReferenceCodeLensProvider.cs (2)
33
[ContentType(
ContentTypeNames
.CSharpContentType)]
34
[ContentType(
ContentTypeNames
.VisualBasicContentType)]
Microsoft.VisualStudio.LanguageServices.CSharp (13)
Interactive\CSharpInteractiveCommandHandler.cs (1)
19
[ExportInteractive(typeof(IExecuteInInteractiveCommandHandler),
ContentTypeNames
.CSharpContentType)]
Interactive\CSharpVsInteractiveWindowCommandProvider.cs (1)
21
[ContentType(
ContentTypeNames
.CSharpContentType)]
Interactive\CSharpVsInteractiveWindowProvider.cs (1)
69
contentTypeRegistry.GetContentType(
ContentTypeNames
.CSharpContentType),
LanguageService\CSharpCodeCleanupFixer.cs (1)
18
[ContentType(
ContentTypeNames
.CSharpContentType)]
LanguageService\CSharpCodeCleanupFixerProvider.cs (1)
18
[ContentType(
ContentTypeNames
.CSharpContentType)]
LanguageService\CSharpCreateServicesOnTextViewConnection.cs (1)
25
[ContentType(
ContentTypeNames
.CSharpContentType)]
LanguageService\CSharpDebuggerIntelliSenseContext.cs (2)
45
componentModel.GetService<IContentTypeRegistryService>().GetContentType(
ContentTypeNames
.CSharpContentType))
60
componentModel.GetService<IContentTypeRegistryService>().GetContentType(
ContentTypeNames
.CSharpContentType),
LanguageService\CSharpEditorFactory.cs (1)
21
protected override string ContentTypeName =>
ContentTypeNames
.CSharpContentType;
LanguageService\CSharpLanguageService.cs (1)
41
return
ContentTypeNames
.CSharpContentType;
ObjectBrowser\CSharpSyncClassViewCommandHandler.cs (1)
19
[ContentType(
ContentTypeNames
.CSharpContentType)]
SemanticSearch\CSharpSemanticSearchContentType.cs (1)
17
[BaseDefinition(
ContentTypeNames
.CSharpContentType)]
Snippets\SnippetCommandHandler.cs (1)
31
[ContentType(Microsoft.CodeAnalysis.Editor.
ContentTypeNames
.CSharpContentType)]
Microsoft.VisualStudio.LanguageServices.LiveShare (1)
Client\Razor\CSharpLspContainedLanguageProvider.cs (1)
37
=> _contentTypeRegistry.GetContentType(
ContentTypeNames
.CSharpContentType);
Microsoft.VisualStudio.LanguageServices.Xaml (8)
Features\XamlContentTypeLanguageService.cs (1)
14
[ExportContentTypeLanguageService(
ContentTypeNames
.XamlContentType, StringConstants.XamlLanguageName), Shared]
Implementation\LanguageClient\XamlInProcLanguageClient.cs (1)
27
[ContentType(
ContentTypeNames
.XamlContentType)]
Implementation\LanguageClient\XamlInProcLanguageClientDisableUX.cs (1)
29
[ContentType(
ContentTypeNames
.XamlContentType)]
Implementation\XamlOleCommandTarget.cs (1)
28
return this.WpfTextView.GetBufferContainingCaret(contentType:
ContentTypeNames
.XamlContentType);
Implementation\XamlProjectService.cs (1)
243
var isXaml = buffer?.ContentType.IsOfType(
ContentTypeNames
.XamlContentType) == true;
Implementation\XamlTextViewCreationListener.cs (1)
20
[ContentType(
ContentTypeNames
.XamlContentType)]
XamlStaticTypeDefinitions.cs (2)
18
[Name(
ContentTypeNames
.XamlContentType)]
25
[ContentType(
ContentTypeNames
.XamlContentType)]