89 references to Type
Metrics (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (3)
621
(x.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(x.ContainingType)) ||
625
(y.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(y.ContainingType)) ||
642
if (x.TypeParameterKind == TypeParameterKind.
Type
&& x.ContainingType.IsAnonymousType)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (2)
268
(x.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(x.ContainingType)) ||
280
if (x.TypeParameterKind == TypeParameterKind.
Type
&& x.ContainingType.IsAnonymousType)
Metrics.Legacy (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (3)
621
(x.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(x.ContainingType)) ||
625
(y.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(y.ContainingType)) ||
642
if (x.TypeParameterKind == TypeParameterKind.
Type
&& x.ContainingType.IsAnonymousType)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (2)
268
(x.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(x.ContainingType)) ||
280
if (x.TypeParameterKind == TypeParameterKind.
Type
&& x.ContainingType.IsAnonymousType)
Microsoft.CodeAnalysis.Analyzers (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (3)
621
(x.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(x.ContainingType)) ||
625
(y.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(y.ContainingType)) ||
642
if (x.TypeParameterKind == TypeParameterKind.
Type
&& x.ContainingType.IsAnonymousType)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (2)
268
(x.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(x.ContainingType)) ||
280
if (x.TypeParameterKind == TypeParameterKind.
Type
&& x.ContainingType.IsAnonymousType)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationTypeParameterSymbol.cs (1)
68
: TypeParameterKind.
Type
;
Microsoft.CodeAnalysis.AnalyzerUtilities (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (3)
621
(x.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(x.ContainingType)) ||
625
(y.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(y.ContainingType)) ||
642
if (x.TypeParameterKind == TypeParameterKind.
Type
&& x.ContainingType.IsAnonymousType)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (2)
268
(x.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(x.ContainingType)) ||
280
if (x.TypeParameterKind == TypeParameterKind.
Type
&& x.ContainingType.IsAnonymousType)
Microsoft.CodeAnalysis.BannedApiAnalyzers (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (3)
621
(x.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(x.ContainingType)) ||
625
(y.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(y.ContainingType)) ||
642
if (x.TypeParameterKind == TypeParameterKind.
Type
&& x.ContainingType.IsAnonymousType)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (2)
268
(x.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(x.ContainingType)) ||
280
if (x.TypeParameterKind == TypeParameterKind.
Type
&& x.ContainingType.IsAnonymousType)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationTypeParameterSymbol.cs (1)
68
: TypeParameterKind.
Type
;
Microsoft.CodeAnalysis.CodeStyle (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (3)
621
(x.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(x.ContainingType)) ||
625
(y.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(y.ContainingType)) ||
642
if (x.TypeParameterKind == TypeParameterKind.
Type
&& x.ContainingType.IsAnonymousType)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (2)
268
(x.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(x.ContainingType)) ||
280
if (x.TypeParameterKind == TypeParameterKind.
Type
&& x.ContainingType.IsAnonymousType)
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationTypeParameterSymbol.cs (1)
68
: TypeParameterKind.
Type
;
Microsoft.CodeAnalysis.CSharp (8)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeParameterSymbol.cs (1)
40
return TypeParameterKind.
Type
;
Symbols\ErrorTypeSymbol.ErrorTypeParameterSymbol.cs (1)
38
return TypeParameterKind.
Type
;
Symbols\Metadata\PE\PETypeParameterSymbol.cs (1)
108
: TypeParameterKind.
Type
;
Symbols\Source\SourceTypeParameterSymbol.cs (1)
476
return TypeParameterKind.
Type
;
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeParameterSymbol.cs (1)
27
public override TypeParameterKind TypeParameterKind => TypeParameterKind.
Type
;
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
228
public override TypeParameterKind TypeParameterKind => TypeParameterKind.
Type
;
Symbols\Synthesized\SynthesizedSubstitutedTypeParameterSymbol.cs (2)
29
(ContainingSymbol is NamedTypeSymbol ? TypeParameterKind.
Type
:
41
public override TypeParameterKind TypeParameterKind => ContainingSymbol is MethodSymbol ? TypeParameterKind.Method : TypeParameterKind.
Type
;
Microsoft.CodeAnalysis.Extensions.Package (5)
Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (3)
621
(x.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(x.ContainingType)) ||
625
(y.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(y.ContainingType)) ||
642
if (x.TypeParameterKind == TypeParameterKind.
Type
&& x.ContainingType.IsAnonymousType)
Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (2)
268
(x.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(x.ContainingType)) ||
280
if (x.TypeParameterKind == TypeParameterKind.
Type
&& x.ContainingType.IsAnonymousType)
Microsoft.CodeAnalysis.Features (1)
ConvertTupleToStruct\AbstractConvertTupleToStructCodeRefactoringProvider.cs (1)
144
if (!capturedTypeParameters.Any(static tp => tp.TypeParameterKind == TypeParameterKind.
Type
))
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (3)
621
(x.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(x.ContainingType)) ||
625
(y.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(y.ContainingType)) ||
642
if (x.TypeParameterKind == TypeParameterKind.
Type
&& x.ContainingType.IsAnonymousType)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (2)
268
(x.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(x.ContainingType)) ||
280
if (x.TypeParameterKind == TypeParameterKind.
Type
&& x.ContainingType.IsAnonymousType)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationTypeParameterSymbol.cs (1)
68
: TypeParameterKind.
Type
;
Microsoft.CodeAnalysis.PublicApiAnalyzers (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (3)
621
(x.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(x.ContainingType)) ||
625
(y.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(y.ContainingType)) ||
642
if (x.TypeParameterKind == TypeParameterKind.
Type
&& x.ContainingType.IsAnonymousType)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (2)
268
(x.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(x.ContainingType)) ||
280
if (x.TypeParameterKind == TypeParameterKind.
Type
&& x.ContainingType.IsAnonymousType)
Microsoft.CodeAnalysis.ResxSourceGenerator (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (3)
621
(x.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(x.ContainingType)) ||
625
(y.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(y.ContainingType)) ||
642
if (x.TypeParameterKind == TypeParameterKind.
Type
&& x.ContainingType.IsAnonymousType)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (2)
268
(x.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(x.ContainingType)) ||
280
if (x.TypeParameterKind == TypeParameterKind.
Type
&& x.ContainingType.IsAnonymousType)
Microsoft.CodeAnalysis.VisualBasic (7)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousTypeOrDelegateTypeParameterSymbol.vb (1)
29
Return TypeParameterKind.
Type
Symbols\InstanceErrorTypeSymbol.vb (1)
192
Return TypeParameterKind.
Type
Symbols\Metadata\PE\PETypeParameterSymbol.vb (1)
104
TypeParameterKind.
Type
)
Symbols\Source\SourceTypeParameterSymbol.vb (1)
249
Return TypeParameterKind.
Type
Symbols\SynthesizedSymbols\SynthesizedClonedTypeParameterSymbol.vb (2)
50
If(TypeOf Me.ContainingSymbol Is NamedTypeSymbol, TypeParameterKind.
Type
,
59
TypeParameterKind.
Type
)
Symbols\Wrapped\WrappedTypeParameterSymbol.vb (1)
99
If(TypeOf Me.ContainingSymbol Is NamedTypeSymbol, TypeParameterKind.
Type
,
Microsoft.CodeAnalysis.Workspaces (7)
FindSymbols\FindReferences\Finders\TypeParameterSymbolReferenceFinder.cs (1)
22
=> symbol.TypeParameterKind == TypeParameterKind.
Type
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (3)
621
(x.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(x.ContainingType)) ||
625
(y.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(y.ContainingType)) ||
642
if (x.TypeParameterKind == TypeParameterKind.
Type
&& x.ContainingType.IsAnonymousType)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (2)
268
(x.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(x.ContainingType)) ||
280
if (x.TypeParameterKind == TypeParameterKind.
Type
&& x.ContainingType.IsAnonymousType)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationTypeParameterSymbol.cs (1)
68
: TypeParameterKind.
Type
;
Roslyn.Diagnostics.Analyzers (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (3)
621
(x.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(x.ContainingType)) ||
625
(y.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(y.ContainingType)) ||
642
if (x.TypeParameterKind == TypeParameterKind.
Type
&& x.ContainingType.IsAnonymousType)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (2)
268
(x.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(x.ContainingType)) ||
280
if (x.TypeParameterKind == TypeParameterKind.
Type
&& x.ContainingType.IsAnonymousType)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationTypeParameterSymbol.cs (1)
68
: TypeParameterKind.
Type
;
Text.Analyzers (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (3)
621
(x.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(x.ContainingType)) ||
625
(y.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(y.ContainingType)) ||
642
if (x.TypeParameterKind == TypeParameterKind.
Type
&& x.ContainingType.IsAnonymousType)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (2)
268
(x.TypeParameterKind == TypeParameterKind.
Type
&& IsConstructedFromSelf(x.ContainingType)) ||
280
if (x.TypeParameterKind == TypeParameterKind.
Type
&& x.ContainingType.IsAnonymousType)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationTypeParameterSymbol.cs (1)
68
: TypeParameterKind.
Type
;