5 implementations of OriginalDefinition
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
21public new INamedTypeSymbol OriginalDefinition { get; protected set; }
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\NamedTypeSymbol.cs (1)
99INamedTypeSymbol INamedTypeSymbol.OriginalDefinition
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs (1)
133public new INamedTypeSymbol OriginalDefinition => this;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\NamedTypeSymbol.vb (1)
1365Private ReadOnly Property INamedTypeSymbol_OriginalDefinition As INamedTypeSymbol Implements INamedTypeSymbol.OriginalDefinition
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
21public new INamedTypeSymbol OriginalDefinition { get; protected set; }
157 references to OriginalDefinition
ConfigurationSchemaGenerator (1)
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (1)
223unboundGeneric.OriginalDefinition.SpecialType == SpecialType.System_Nullable_T)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
StaticRouteHandlerModel\Model\EndpointParameterExtensions.cs (1)
44if (handlerParameterType is INamedTypeSymbol { IsGenericType: true, OriginalDefinition: { SpecialType: not SpecialType.System_Nullable_T } })
Microsoft.CodeAnalysis (3)
DocumentationCommentId.cs (1)
589if (symbol.OriginalDefinition == symbol)
SymbolDisplay\AbstractSymbolDisplayVisitor_Minimal.cs (2)
37if (normalSymbol.Equals(symbol.OriginalDefinition)) 59typeOnlySymbol.Equals(symbol.OriginalDefinition);
Microsoft.CodeAnalysis.CodeStyle (14)
src\Analyzers\Core\Analyzers\ForEachCast\AbstractForEachCastDiagnosticAnalyzer.cs (2)
101var ienumerableOfT = collectionType.AllInterfaces.FirstOrDefault(i => i.OriginalDefinition.SpecialType == SpecialType.System_Collections_Generic_IEnumerable_T); 160collectionType.AllInterfaces.Any(static i => i.OriginalDefinition.SpecialType == SpecialType.System_Collections_Generic_IEnumerable_T);
src\Analyzers\Core\Analyzers\Helpers\HashCodeAnalyzer\HashCodeAnalyzer.OperationDeconstructor.cs (2)
79Equals(_analyzer._equalityComparerType, targetMethod.ContainingType.OriginalDefinition) && 145Equals(fieldOrProp.ContainingType.OriginalDefinition, _method.ContainingType))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions_Accessibility.cs (3)
256var originalContainingType = containingType.OriginalDefinition; 372var current = withinType.OriginalDefinition; 434var current = withinType.OriginalDefinition;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (5)
107symbols.Add(interfaceType.OriginalDefinition); 108symbols.AddRange(interfaceType.AllInterfaces.Select(i => i.OriginalDefinition)); 205if (SymbolEquivalenceComparer.Instance.Equals(currentBaseType.OriginalDefinition, originalBaseType)) 220return type.AllInterfaces.Any(static (t, originalInterfaceType) => SymbolEquivalenceComparer.Instance.Equals(t.OriginalDefinition, originalInterfaceType), originalInterfaceType); 764namedType.OriginalDefinition.GetAttributes().Any(static a => a.AttributeClass?.SpecialType == SpecialType.System_Runtime_CompilerServices_InlineArrayAttribute);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (1)
92return _typeGenerator.Construct(symbol.OriginalDefinition, substitutedArguments.ToArray()).WithNullableAnnotation(symbol.NullableAnnotation);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SemanticModelExtensions.cs (1)
191return type.AllInterfaces.Any(static (i, enumerableType) => i.OriginalDefinition.Equals(enumerableType), enumerableType);
Microsoft.CodeAnalysis.CodeStyle.Fixes (5)
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (2)
588var isThis = _delegatedConstructor.ContainingType.OriginalDefinition.Equals(TypeToGenerateIn.OriginalDefinition);
src\Analyzers\Core\CodeFixes\GenerateMember\AbstractGenerateMemberService.cs (1)
67typeToGenerateIn = typeToGenerateIn?.OriginalDefinition;
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.State.cs (2)
498if (!ContainingType.OriginalDefinition.Equals(TypeToGenerateIn.OriginalDefinition))
Microsoft.CodeAnalysis.CSharp.CodeStyle (16)
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForArrayDiagnosticAnalyzer.cs (1)
104i => i.OriginalDefinition.SpecialType == SpecialType.System_Collections_Generic_IEnumerable_T);
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForFluentDiagnosticAnalyzer.cs (2)
255!argumentType.AllInterfaces.Any(i => Equals(i.OriginalDefinition, ienumerableOfTType))) 368if (interfaceType.Equals(baseInterface.OriginalDefinition))
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\UseCollectionExpressionHelpers.cs (6)
302if (namedType.OriginalDefinition.Equals(compilation.SpanOfTType()) || 303namedType.OriginalDefinition.Equals(compilation.ReadOnlySpanOfTType())) 980if (!factoryType.OriginalDefinition.Equals(collectionBuilderType.OriginalDefinition)) 1019}] && enumerableType.OriginalDefinition.Equals(compilation.IEnumerableOfTType())) 1087if (spanType.OriginalDefinition.Equals(compilation.SpanOfTType()) || 1088spanType.OriginalDefinition.Equals(compilation.ReadOnlySpanOfTType()))
src\Analyzers\CSharp\Analyzers\UseCollectionInitializer\CSharpUseCollectionInitializerAnalyzer.cs (1)
75firstParameter.Type.AllInterfaces.Any(i => Equals(i.OriginalDefinition, ienumerableOfTType)))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (6)
609if (originalNamedConvertedType.OriginalDefinition.SpecialType is SpecialType.System_Collections_Generic_IEnumerable_T && 610namedCastedType.OriginalDefinition.SpecialType is SpecialType.System_Collections_Generic_IReadOnlyCollection_T or SpecialType.System_Collections_Generic_IReadOnlyList_T) 616if (originalNamedConvertedType.OriginalDefinition.SpecialType is SpecialType.System_Collections_Generic_ICollection_T && 617namedCastedType.OriginalDefinition.SpecialType is SpecialType.System_Collections_Generic_IList_T) 623if (originalNamedConvertedType.OriginalDefinition.SpecialType is SpecialType.System_Collections_Generic_ICollection_T or SpecialType.System_Collections_Generic_IList_T && 624namedCastedType.OriginalDefinition.Equals(originalSemanticModel.Compilation.ListOfTType()))
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\UseUtf8StringLiteral\UseUtf8StringLiteralCodeFixProvider.cs (1)
66namedType.OriginalDefinition.Equals(readOnlySpanType) &&
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenTupleTest.cs (1)
27458VerifyPublicType(type.OriginalDefinition, expectedValue);
Microsoft.CodeAnalysis.CSharp.Features (16)
Completion\CompletionProviders\DeclarationName\DeclarationNameRecommender.cs (4)
128if (type is INamedTypeSymbol namedType && namedType.OriginalDefinition != null) 141t => t.OriginalDefinition.SpecialType == SpecialType.System_Collections_Generic_IEnumerable_T || 142Equals(t.OriginalDefinition, compilation.IAsyncEnumerableOfTType()))?.TypeArguments[0]; 157var originalDefinition = namedType.OriginalDefinition;
GenerateType\CSharpGenerateTypeService.cs (1)
73type = type.OriginalDefinition;
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForArrayDiagnosticAnalyzer.cs (1)
104i => i.OriginalDefinition.SpecialType == SpecialType.System_Collections_Generic_IEnumerable_T);
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForFluentDiagnosticAnalyzer.cs (2)
255!argumentType.AllInterfaces.Any(i => Equals(i.OriginalDefinition, ienumerableOfTType))) 368if (interfaceType.Equals(baseInterface.OriginalDefinition))
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\UseCollectionExpressionHelpers.cs (6)
302if (namedType.OriginalDefinition.Equals(compilation.SpanOfTType()) || 303namedType.OriginalDefinition.Equals(compilation.ReadOnlySpanOfTType())) 980if (!factoryType.OriginalDefinition.Equals(collectionBuilderType.OriginalDefinition)) 1019}] && enumerableType.OriginalDefinition.Equals(compilation.IEnumerableOfTType())) 1087if (spanType.OriginalDefinition.Equals(compilation.SpanOfTType()) || 1088spanType.OriginalDefinition.Equals(compilation.ReadOnlySpanOfTType()))
src\Analyzers\CSharp\Analyzers\UseCollectionInitializer\CSharpUseCollectionInitializerAnalyzer.cs (1)
75firstParameter.Type.AllInterfaces.Any(i => Equals(i.OriginalDefinition, ienumerableOfTType)))
src\Analyzers\CSharp\CodeFixes\UseUtf8StringLiteral\UseUtf8StringLiteralCodeFixProvider.cs (1)
66namedType.OriginalDefinition.Equals(readOnlySpanType) &&
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (7)
Compilation\SemanticModelAPITests.cs (2)
622Assert.Equal(a.OriginalDefinition, at2.OriginalDefinition);
Compilation\SemanticModelGetSemanticInfoTests.cs (1)
9282Assert.NotEqual(type.TypeParameters[0], type.OriginalDefinition.TypeParameters[0]); // alpha renamed
DocumentationComments\CrefTests.cs (2)
3015Assert.Equal(typeA, actualTypeA.OriginalDefinition); 3027Assert.Equal(typeB, actualTypeB.OriginalDefinition);
Symbols\CustomModifiersTests.cs (2)
72var nullable = type.OriginalDefinition; 147var dictionary = type.OriginalDefinition;
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (6)
609if (originalNamedConvertedType.OriginalDefinition.SpecialType is SpecialType.System_Collections_Generic_IEnumerable_T && 610namedCastedType.OriginalDefinition.SpecialType is SpecialType.System_Collections_Generic_IReadOnlyCollection_T or SpecialType.System_Collections_Generic_IReadOnlyList_T) 616if (originalNamedConvertedType.OriginalDefinition.SpecialType is SpecialType.System_Collections_Generic_ICollection_T && 617namedCastedType.OriginalDefinition.SpecialType is SpecialType.System_Collections_Generic_IList_T) 623if (originalNamedConvertedType.OriginalDefinition.SpecialType is SpecialType.System_Collections_Generic_ICollection_T or SpecialType.System_Collections_Generic_IList_T && 624namedCastedType.OriginalDefinition.Equals(originalSemanticModel.Compilation.ListOfTType()))
Microsoft.CodeAnalysis.Features (14)
ConvertForEachToFor\AbstractConvertForEachToForCodeRefactoringProvider.cs (1)
295if (!knownCollectionInterfaces.Contains(current.OriginalDefinition))
GenerateComparisonOperators\GenerateComparisonOperatorsCodeRefactoringProvider.cs (1)
74if (!iface.OriginalDefinition.Equals(comparableType))
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (2)
491: symbol.OriginalDefinition.ToDisplayParts(style)); 496symbol.OriginalDefinition.ToDisplayParts(s_descriptionStyle));
MetadataAsSource\AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs (1)
132ITypeSymbol ITypeSymbol.OriginalDefinition => _symbol.OriginalDefinition;
src\Analyzers\Core\Analyzers\ForEachCast\AbstractForEachCastDiagnosticAnalyzer.cs (2)
101var ienumerableOfT = collectionType.AllInterfaces.FirstOrDefault(i => i.OriginalDefinition.SpecialType == SpecialType.System_Collections_Generic_IEnumerable_T); 160collectionType.AllInterfaces.Any(static i => i.OriginalDefinition.SpecialType == SpecialType.System_Collections_Generic_IEnumerable_T);
src\Analyzers\Core\Analyzers\Helpers\HashCodeAnalyzer\HashCodeAnalyzer.OperationDeconstructor.cs (2)
79Equals(_analyzer._equalityComparerType, targetMethod.ContainingType.OriginalDefinition) && 145Equals(fieldOrProp.ContainingType.OriginalDefinition, _method.ContainingType))
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (2)
588var isThis = _delegatedConstructor.ContainingType.OriginalDefinition.Equals(TypeToGenerateIn.OriginalDefinition);
src\Analyzers\Core\CodeFixes\GenerateMember\AbstractGenerateMemberService.cs (1)
67typeToGenerateIn = typeToGenerateIn?.OriginalDefinition;
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.State.cs (2)
498if (!ContainingType.OriginalDefinition.Equals(TypeToGenerateIn.OriginalDefinition))
Microsoft.CodeAnalysis.Features.UnitTests (4)
FindUsages\DefinitionItemFactoryTests.cs (4)
705var genericTuple = tuple.OriginalDefinition; 767var genericTuple = tuple.OriginalDefinition; 823var genericType = type.OriginalDefinition; 877var genericType = type.OriginalDefinition;
Microsoft.CodeAnalysis.VisualBasic (3)
SymbolDisplay\SymbolDisplayVisitor.Types.vb (2)
100If ITypeSymbolHelpers.IsNullableType(symbol) AndAlso symbol IsNot symbol.OriginalDefinition Then 304(Not symbol.IsDefinition AndAlso TypeOf symbol.OriginalDefinition Is MissingMetadataTypeSymbol)) Then
Symbols\NamedTypeSymbol.vb (1)
1365Private ReadOnly Property INamedTypeSymbol_OriginalDefinition As INamedTypeSymbol Implements INamedTypeSymbol.OriginalDefinition
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeSyntaxGeneratorVisitor.vb (1)
81If symbol.OriginalDefinition.SpecialType = SpecialType.System_Nullable_T Then
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
CodeGen\CodeGenTuples.vb (1)
23159VerifyPublicType(type.OriginalDefinition, TupleUnderlyingTypeValue.Nothing)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (2)
SymbolsTests\CustomModifiersTests.vb (2)
68Dim nullable = type.OriginalDefinition 141Dim dictionary = type.OriginalDefinition
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeSyntaxGeneratorVisitor.vb (1)
81If symbol.OriginalDefinition.SpecialType = SpecialType.System_Nullable_T Then
Microsoft.CodeAnalysis.Workspaces (28)
FindSymbols\FindReferences\DependentTypeFinder.cs (3)
71type = type.OriginalDefinition; 516var baseType = type.BaseType?.OriginalDefinition; 524if (set.Contains(interfaceType.OriginalDefinition))
FindSymbols\SymbolFinder_Helpers.cs (1)
194=> (type.NativeIntegerUnderlyingType ?? type).OriginalDefinition;
FindSymbols\SymbolFinder_Hierarchy.cs (2)
131var containingType = symbol.ContainingType.OriginalDefinition; 349var containingType = symbol.ContainingType.OriginalDefinition;
ObsoleteSymbol\AbstractObsoleteSymbolService.cs (1)
200if (symbol is INamedTypeSymbol { OriginalDefinition.SpecialType: SpecialType.System_Nullable_T, TypeArguments: [var valueType] })
Recommendations\AbstractRecommendationService.cs (3)
128var containingTypeOriginalDefinition = symbol.ContainingType.OriginalDefinition; 149.SelectAsArray(t => t.OriginalDefinition); 162: enclosingType.GetBaseTypes().SelectAsArray(b => b.OriginalDefinition);
Recommendations\AbstractRecommendationServiceRunner.cs (3)
207expressionSymbolNamedTypeCandidate.OriginalDefinition.Equals(expressionSymbol)) 465if (SymbolEqualityComparer.Default.Equals(constraintTypeInterface.OriginalDefinition, originalConstraintType)) 476if (SymbolEqualityComparer.Default.Equals(interfaceType.OriginalDefinition, originalConstraintType))
Shared\Extensions\ITypeSymbolExtensions.cs (4)
84var originalInterfaceType = interfaceMember.ContainingType.OriginalDefinition; 88SymbolEquivalenceComparer.Instance.Equals(i.OriginalDefinition, originalInterfaceType)); 109currentType.GetOriginalInterfacesAndTheirBaseInterfaces().Contains(interfaceType.OriginalDefinition); 204if (@interface.OriginalDefinition.Equals(asyncEnumerableType, SymbolEqualityComparer.Default))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions_Accessibility.cs (3)
256var originalContainingType = containingType.OriginalDefinition; 372var current = withinType.OriginalDefinition; 434var current = withinType.OriginalDefinition;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (5)
107symbols.Add(interfaceType.OriginalDefinition); 108symbols.AddRange(interfaceType.AllInterfaces.Select(i => i.OriginalDefinition)); 205if (SymbolEquivalenceComparer.Instance.Equals(currentBaseType.OriginalDefinition, originalBaseType)) 220return type.AllInterfaces.Any(static (t, originalInterfaceType) => SymbolEquivalenceComparer.Instance.Equals(t.OriginalDefinition, originalInterfaceType), originalInterfaceType); 764namedType.OriginalDefinition.GetAttributes().Any(static a => a.AttributeClass?.SpecialType == SpecialType.System_Runtime_CompilerServices_InlineArrayAttribute);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (1)
92return _typeGenerator.Construct(symbol.OriginalDefinition, substitutedArguments.ToArray()).WithNullableAnnotation(symbol.NullableAnnotation);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SemanticModelExtensions.cs (1)
191return type.AllInterfaces.Any(static (i, enumerableType) => i.OriginalDefinition.Equals(enumerableType), enumerableType);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (1)
202if (namedType.OriginalDefinition.IsSpecialType() || namedType.IsNullable() || namedType.IsTupleType)
Microsoft.Extensions.Options.SourceGeneration (4)
Parser.cs (4)
257if (SymbolEqualityComparer.Default.Equals(implementingInterface.OriginalDefinition, _compilation.GetSpecialType(SpecialType.System_Collections_Generic_IEnumerable_T))) 738if (SymbolEqualityComparer.Default.Equals(implementingInterface.OriginalDefinition, _symbolHolder.IValidatableObjectSymbol)) 752if (SymbolEqualityComparer.Default.Equals(implementingInterface.OriginalDefinition, _symbolHolder.ValidateOptionsSymbol)) 765if (SymbolEqualityComparer.Default.Equals(implementingInterface.OriginalDefinition, _symbolHolder.ValidateOptionsSymbol))
Microsoft.Gen.ComplianceReports (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
125attributeType.OriginalDefinition.ToDisplayString() :
Microsoft.Gen.ContextualOptions (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
125attributeType.OriginalDefinition.ToDisplayString() :
Microsoft.Gen.Logging (2)
Parsing\TypeSymbolExtensions.cs (1)
95if (sym is INamedTypeSymbol namedTypeSymbol && namedTypeSymbol.IsGenericType && namedTypeSymbol.OriginalDefinition.SpecialType == SpecialType.System_Nullable_T)
src\Generators\Shared\GeneratorUtilities.cs (1)
125attributeType.OriginalDefinition.ToDisplayString() :
Microsoft.Gen.Metrics (3)
Parser.cs (2)
242if (methodAttributeSymbol.OriginalDefinition.Equals(symbols.CounterOfTAttribute, SymbolEqualityComparer.Default)) 247if (methodAttributeSymbol.OriginalDefinition.Equals(symbols.HistogramOfTAttribute, SymbolEqualityComparer.Default))
src\Generators\Shared\GeneratorUtilities.cs (1)
125attributeType.OriginalDefinition.ToDisplayString() :
Microsoft.Gen.MetricsReports (3)
src\Generators\Microsoft.Gen.Metrics\Parser.cs (2)
242if (methodAttributeSymbol.OriginalDefinition.Equals(symbols.CounterOfTAttribute, SymbolEqualityComparer.Default)) 247if (methodAttributeSymbol.OriginalDefinition.Equals(symbols.HistogramOfTAttribute, SymbolEqualityComparer.Default))
src\Generators\Shared\GeneratorUtilities.cs (1)
125attributeType.OriginalDefinition.ToDisplayString() :
Microsoft.Interop.SourceGeneration (15)
ManualTypeMarshallingHelper.cs (14)
260onArityMismatch(managedType.OriginalDefinition, instantiatedEntryType.OriginalDefinition); 265onArityMismatch(managedType.OriginalDefinition, instantiatedEntryType.OriginalDefinition); 270onArityMismatch(managedType.OriginalDefinition, instantiatedEntryType.OriginalDefinition); 303onArityMismatch(entryPointType.OriginalDefinition, instantiatedManagedType.OriginalDefinition); 308onArityMismatch(entryPointType.OriginalDefinition, instantiatedManagedType.OriginalDefinition); 313onArityMismatch(entryPointType.OriginalDefinition, instantiatedManagedType.OriginalDefinition); 340onArityMismatch(entryPointType.OriginalDefinition, instantiatedMarshallerType.OriginalDefinition);
TypeSymbolExtensions.cs (1)
230for (INamedTypeSymbol originalTypeDefinition = unboundConstructedType.OriginalDefinition; originalTypeDefinition is not null; originalTypeDefinition = originalTypeDefinition.ContainingType)
Microsoft.VisualStudio.LanguageServices (2)
Progression\GraphQueries\InheritsGraphQuery.cs (2)
41else if (namedType.TypeKind == TypeKind.Interface && !namedType.OriginalDefinition.AllInterfaces.IsEmpty) 43foreach (var baseNode in namedType.OriginalDefinition.AllInterfaces.Distinct())
System.Text.Json.SourceGeneration (1)
Helpers\RoslynExtensions.cs (1)
203if (type.IsValueType && type is INamedTypeSymbol { OriginalDefinition.SpecialType: SpecialType.System_Nullable_T })