5 implementations of IsScriptClass
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
78public abstract bool IsScriptClass { get; }
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\NamedTypeSymbol.cs (1)
189bool INamedTypeSymbol.IsScriptClass => UnderlyingNamedTypeSymbol.IsScriptClass;
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs (1)
60public bool IsScriptClass => _symbol.IsScriptClass;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\NamedTypeSymbol.vb (1)
1393Private ReadOnly Property INamedTypeSymbol_IsScriptClass As Boolean Implements INamedTypeSymbol.IsScriptClass
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
78public abstract bool IsScriptClass { get; }
17 references to IsScriptClass
Microsoft.CodeAnalysis (1)
Compilation\Compilation.cs (1)
1053if (candidate.IsScriptClass)
Microsoft.CodeAnalysis.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
538IsScriptClass: false,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions_Accessibility.cs (2)
284if (withinAssembly.IsInteractive && containingType.IsScriptClass) 342if (withinAssembly.IsInteractive && originalContainingType.IsScriptClass)
Microsoft.CodeAnalysis.CSharp (1)
SymbolDisplay\SymbolDisplayVisitor.cs (1)
442if (namedType.IsScriptClass && !Format.CompilerInternalOptions.IncludesOption(SymbolDisplayCompilerInternalOptions.IncludeScriptType))
Microsoft.CodeAnalysis.CSharp.Features (1)
SignatureHelp\GenericNameSignatureHelpProvider_Method.cs (1)
64if (result is not INamedTypeSymbol namedTypeSymbol || !namedTypeSymbol.IsScriptClass)
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Simplification\Simplifiers\NameSimplifier.cs (1)
720if (symbol.IsScriptClass)
Microsoft.CodeAnalysis.Features (3)
DocumentHighlighting\AbstractDocumentHighlightsService.cs (1)
283return !((INamedTypeSymbol)symbol).IsScriptClass;
ExtractMethod\MethodExtractor.Analyzer.cs (1)
705parameter.ContainingSymbol.ContainingType.IsScriptClass;
MetadataAsSource\AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs (1)
60public bool IsScriptClass => _symbol.IsScriptClass;
Microsoft.CodeAnalysis.VisualBasic (2)
SymbolDisplay\SymbolDisplayVisitor.vb (1)
383(Not namedType.IsScriptClass OrElse Format.CompilerInternalOptions.IncludesOption(SymbolDisplayCompilerInternalOptions.IncludeScriptType))
Symbols\NamedTypeSymbol.vb (1)
1393Private ReadOnly Property INamedTypeSymbol_IsScriptClass As Boolean Implements INamedTypeSymbol.IsScriptClass
Microsoft.CodeAnalysis.VisualBasic.Features (1)
SignatureHelp\GenericNameSignatureHelpProvider.Method.vb (1)
31If result.Kind <> SymbolKind.NamedType OrElse Not DirectCast(result, INamedTypeSymbol).IsScriptClass Then
Microsoft.CodeAnalysis.Workspaces (4)
FindSymbols\FindReferences\Finders\AbstractMemberScopedReferenceFinder.cs (1)
65else if (symbol.ContainingType != null && symbol.ContainingType.IsScriptClass)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
538IsScriptClass: false,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions_Accessibility.cs (2)
284if (withinAssembly.IsInteractive && containingType.IsScriptClass) 342if (withinAssembly.IsInteractive && originalContainingType.IsScriptClass)