8 implementations of Type
GenerateDocumentationAndConfigFiles (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationPropertySymbol.cs (1)
26public ITypeSymbol Type { get; } = type;
Microsoft.CodeAnalysis.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationPropertySymbol.cs (1)
26public ITypeSymbol Type { get; } = type;
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationPropertySymbol.cs (1)
26public ITypeSymbol Type { get; } = type;
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\PropertySymbol.cs (1)
31ITypeSymbol IPropertySymbol.Type
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.WrappedPropertySymbol.cs (1)
52public ITypeSymbol Type => _symbol.Type;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\PropertySymbol.vb (1)
615Private ReadOnly Property IPropertySymbol_Type As ITypeSymbol Implements IPropertySymbol.Type
Microsoft.CodeAnalysis.Workspaces (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationPropertySymbol.cs (1)
26public ITypeSymbol Type { get; } = type;
Roslyn.Diagnostics.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationPropertySymbol.cs (1)
26public ITypeSymbol Type { get; } = type;
329 references to Type
ConfigurationSchemaGenerator (2)
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (2)
669if (member is IPropertySymbol { IsIndexer: false, IsImplicitlyDeclared: false } property && !IsUnsupportedType(property.Type)) 672TypeRef propertyTypeRef = EnqueueTransitiveType(typeParseInfo, property.Type, DiagnosticDescriptors.PropertyNotSupported, propertyName);
GenerateDocumentationAndConfigFiles (19)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousTypeSymbolKey.cs (2)
22var propertyTypes = properties.SelectAsArray(p => p.Type); 42getContextualSymbol: (contextualSymbol, i) => SafeGet(contextualProperties, i)?.Type,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions.cs (3)
343IPropertySymbol propertySymbol => propertySymbol.Type, 662IPropertySymbol propertySymbol => propertySymbol.Type, 716if (!returnType.GetMembers().OfType<IPropertySymbol>().Any(p => p is { Name: WellKnownMemberNames.IsCompleted, Type.SpecialType: SpecialType.System_Boolean, GetMethod: not null }))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions.RequiresUnsafeModifierVisitor.cs (1)
94symbol.Type.Accept(this) ||
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SignatureComparer.cs (2)
172this.SignatureTypeEquivalenceComparer.Equals(property1.Type, property2.Type);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
537!AreEquivalent(p1.Type, p2.Type, equivalentTypesWithDifferingAssemblies))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
207GetHashCode(p.Type, a)));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (1)
557property.Type,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IPropertySymbolExtensions.cs (2)
30property.Type, 56property.Type,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (5)
84IPropertySymbol property => property.Type, 215if (compilation.ClassifyCommonConversion(conflictingProperty.Type, property.Type) is { Exists: true, IsImplicit: true }) 256if (compilation.ClassifyCommonConversion(property.Type, conflictingProperty.Type) is { Exists: true, IsImplicit: true })
ILLink.RoslynAnalyzer (6)
DynamicallyAccessedMembersAnalyzer.cs (2)
200if (property.GetDynamicallyAccessedMemberTypes() != DynamicallyAccessedMemberTypes.None && !property.Type.IsTypeInterestingForDataflow(isByRef: property.ReturnsByRef)) 331|| !propertySymbol.Type.IsTypeInterestingForDataflow(isByRef: propertySymbol.RefKind is not RefKind.None)
RequiresAnalyzerBase.cs (1)
369if (!propertySymbol.IsStatic || propertySymbol.Type.SpecialType != SpecialType.System_Boolean || propertySymbol.SetMethod != null)
TrimAnalysis\FeatureCheckReturnValuePattern.cs (1)
40if (!OwningSymbol.IsStatic || OwningSymbol.Type.SpecialType != SpecialType.System_Boolean || OwningSymbol.SetMethod != null)
TrimAnalysis\FieldValue.cs (1)
20: this(propertySymbol, propertySymbol.Type, FlowAnnotations.GetBackingFieldAnnotation(propertySymbol))
TrimAnalysis\FlowAnnotations.cs (1)
132if (!property.OriginalDefinition.Type.IsTypeInterestingForDataflow(isByRef: false))
Microsoft.Analyzers.Extra (1)
ConditionalAccessAnalyzer.cs (1)
48type = propRef.Property.Type;
Microsoft.Analyzers.Local (1)
Utilities\SymbolExtensions.cs (1)
172return propertySymbol.Type;
Microsoft.AspNetCore.App.Analyzers (2)
src\aspnetcore\src\Shared\RoslynUtils\SymbolExtensions.cs (2)
209IPropertySymbol propertySymbol => propertySymbol.Type, 232propertySymbol.Type is INamedTypeSymbol
Microsoft.AspNetCore.App.CodeFixes (2)
Dependencies\AddPackageFixer.cs (1)
70IPropertySymbol propertySymbol => propertySymbol.Type,
Dependencies\ExtensionMethodsCompletionProvider.cs (1)
67IPropertySymbol propertySymbol => propertySymbol.Type,
Microsoft.AspNetCore.Components.Analyzers (3)
ComponentParameterAnalyzer.cs (2)
102var conversion = context.Compilation.ClassifyConversion(symbols.ParameterCaptureUnmatchedValuesRuntimeType, property.Type); 109property.Type.ToDisplayString(SymbolDisplayFormat.CSharpErrorMessageFormat),
InternalUsageAnalyzer.cs (1)
117VisitDeclarationSymbol(context, property.Type, property);
Microsoft.AspNetCore.Components.SdkAnalyzers (3)
ComponentParameterAnalyzer.cs (2)
96var conversion = context.Compilation.ClassifyConversion(symbols.ParameterCaptureUnmatchedValuesRuntimeType, property.Type); 103property.Type.ToDisplayString(SymbolDisplayFormat.CSharpErrorMessageFormat),
InternalUsageAnalyzer.cs (1)
117VisitDeclarationSymbol(context, property.Type, property);
Microsoft.AspNetCore.OpenApi.SourceGenerators (1)
Helpers\AssemblyTypeSymbolsVisitor.cs (1)
66property.Type.Accept(this);
Microsoft.CodeAnalysis (7)
CodeGen\PermissionSetAttribute.cs (1)
86member => member.Kind == SymbolKind.Property && ((IPropertySymbol)member).Type.SpecialType == SpecialType.System_String));
Operations\ControlFlowGraphBuilder.cs (5)
4656info.CurrentProperty.Type, isImplicit: true); 7303semanticModel: null, operation.Syntax, propertySymbol.Type, isImplicit: true); 8080semanticModel: null, operation.Syntax, property.Type, isImplicit: true); 8106semanticModel: null, operation.Syntax, property.Type, isImplicit: true); 8110semanticModel: null, operation.Syntax, property.Type, constantValue: null, isImplicit: true);
SymbolDisplay\AbstractSymbolDisplayVisitor_Minimal.cs (1)
114return propertySymbol.Type;
Microsoft.CodeAnalysis.Analyzers (20)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.PropertyMetricData.cs (1)
36MetricsHelper.AddCoupledNamedTypes(coupledTypesBuilder, context.WellKnownTypeProvider, property.Type);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousTypeSymbolKey.cs (2)
22var propertyTypes = properties.SelectAsArray(p => p.Type); 42getContextualSymbol: (contextualSymbol, i) => SafeGet(contextualProperties, i)?.Type,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions.cs (3)
343IPropertySymbol propertySymbol => propertySymbol.Type, 662IPropertySymbol propertySymbol => propertySymbol.Type, 716if (!returnType.GetMembers().OfType<IPropertySymbol>().Any(p => p is { Name: WellKnownMemberNames.IsCompleted, Type.SpecialType: SpecialType.System_Boolean, GetMethod: not null }))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions.RequiresUnsafeModifierVisitor.cs (1)
94symbol.Type.Accept(this) ||
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SignatureComparer.cs (2)
172this.SignatureTypeEquivalenceComparer.Equals(property1.Type, property2.Type);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
537!AreEquivalent(p1.Type, p2.Type, equivalentTypesWithDifferingAssemblies))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
207GetHashCode(p.Type, a)));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (1)
557property.Type,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IPropertySymbolExtensions.cs (2)
30property.Type, 56property.Type,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (5)
84IPropertySymbol property => property.Type, 215if (compilation.ClassifyCommonConversion(conflictingProperty.Type, property.Type) is { Exists: true, IsImplicit: true }) 256if (compilation.ClassifyCommonConversion(property.Type, conflictingProperty.Type) is { Exists: true, IsImplicit: true })
Microsoft.CodeAnalysis.AnalyzerUtilities (12)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.PropertyMetricData.cs (1)
36MetricsHelper.AddCoupledNamedTypes(coupledTypesBuilder, context.WellKnownTypeProvider, property.Type);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousTypeSymbolKey.cs (2)
22var propertyTypes = properties.SelectAsArray(p => p.Type); 42getContextualSymbol: (contextualSymbol, i) => SafeGet(contextualProperties, i)?.Type,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions.cs (3)
343IPropertySymbol propertySymbol => propertySymbol.Type, 662IPropertySymbol propertySymbol => propertySymbol.Type, 716if (!returnType.GetMembers().OfType<IPropertySymbol>().Any(p => p is { Name: WellKnownMemberNames.IsCompleted, Type.SpecialType: SpecialType.System_Boolean, GetMethod: not null }))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions.RequiresUnsafeModifierVisitor.cs (1)
94symbol.Type.Accept(this) ||
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SignatureComparer.cs (2)
172this.SignatureTypeEquivalenceComparer.Equals(property1.Type, property2.Type);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
537!AreEquivalent(p1.Type, p2.Type, equivalentTypesWithDifferingAssemblies))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
207GetHashCode(p.Type, a)));
Microsoft.CodeAnalysis.CodeStyle (13)
src\roslyn\src\Analyzers\Core\Analyzers\UseAutoProperty\AbstractUseAutoPropertyAnalyzer.cs (1)
423if (!property.Type.Equals(getterField.Type))
src\roslyn\src\Analyzers\Core\Analyzers\UseCollectionInitializer\UpdateExpressionState.cs (1)
205.Any(m => m is IPropertySymbol { Type: var propertyType, Parameters: [var propertyParameter] } &&
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousTypeSymbolKey.cs (2)
22var propertyTypes = properties.SelectAsArray(p => p.Type); 42getContextualSymbol: (contextualSymbol, i) => SafeGet(contextualProperties, i)?.Type,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions.cs (3)
343IPropertySymbol propertySymbol => propertySymbol.Type, 662IPropertySymbol propertySymbol => propertySymbol.Type, 716if (!returnType.GetMembers().OfType<IPropertySymbol>().Any(p => p is { Name: WellKnownMemberNames.IsCompleted, Type.SpecialType: SpecialType.System_Boolean, GetMethod: not null }))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions.RequiresUnsafeModifierVisitor.cs (1)
94symbol.Type.Accept(this) ||
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SignatureComparer.cs (2)
172this.SignatureTypeEquivalenceComparer.Equals(property1.Type, property2.Type);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
537!AreEquivalent(p1.Type, p2.Type, equivalentTypesWithDifferingAssemblies))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
207GetHashCode(p.Type, a)));
Microsoft.CodeAnalysis.CodeStyle.Fixes (13)
src\roslyn\src\Analyzers\Core\CodeFixes\GenerateConstructor\GenerateConstructorHelpers.cs (1)
361if (!IsConversionImplicit(document.SemanticModel.Compilation, parameterType, property.Type))
src\roslyn\src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.State.cs (1)
227TypeMemberType = propertySymbol.Type;
src\roslyn\src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementHelpers.cs (2)
33.WhereAsArray(p => !p.IsImplicitlyDeclared && p.Parameters.Length == 0 && p.GetMethod != null && includeMemberType(p.Type)); 134if (IsTypeLessAccessibleThanOtherType(propertySymbol.Type, second, []))
src\roslyn\src\Analyzers\Core\CodeFixes\UseAutoProperty\AbstractUseAutoPropertyCodeFixProvider.cs (1)
266property.Type.NullableAnnotation is NullableAnnotation.NotAnnotated;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (1)
557property.Type,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IPropertySymbolExtensions.cs (2)
30property.Type, 56property.Type,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (5)
84IPropertySymbol property => property.Type, 215if (compilation.ClassifyCommonConversion(conflictingProperty.Type, property.Type) is { Exists: true, IsImplicit: true }) 256if (compilation.ClassifyCommonConversion(property.Type, conflictingProperty.Type) is { Exists: true, IsImplicit: true })
Microsoft.CodeAnalysis.CSharp (2)
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
165symbol.Type.Accept(this.NotFirstVisitor);
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
627return property.Type.ToDisplayString(Format) + " " + property.Name;
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\roslyn\src\Analyzers\CSharp\Analyzers\UseIndexOrRangeOperator\Helpers.cs (2)
33p.Type.SpecialType == SpecialType.System_Int32) 133returnType.Equals(p.Type) &&
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (7)
src\roslyn\src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordEngine.cs (3)
174.SequenceEqual(propertiesToAssign.Select(property => property.Type))) 255? result.Symbol.Type.GenerateTypeSyntax() 340var orderedPropertyTypesToAssign = propertiesToAssign.SelectAsArray(s => s.Type).OrderBy(type => type.Name);
src\roslyn\src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (1)
413property.Type.NullableAnnotation == NullableAnnotation.Annotated
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\PropertyGenerator.cs (1)
160var returnType = property.Type;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (2)
1562result.Add(new TypeInferenceInfo(property.Type)); 1724.Select(p => new TypeInferenceInfo(p.Type)));
Microsoft.CodeAnalysis.CSharp.Features (15)
Completion\CompletionProviders\DeclarationName\DeclarationNameRecommender.cs (1)
160.OfType<IPropertySymbol>().FirstOrDefault(p => p.GetMethod != null)?.Type;
Completion\CompletionProviders\EnumAndCompletionListTagCompletionProvider.cs (1)
225symbolType = property.Type;
Completion\CompletionProviders\PropertySubPatternCompletionProvider.cs (1)
133IPropertySymbol property => property.Type,
ExtractMethod\CSharpSelectionResult.StatementResult.cs (1)
59IPropertySymbol propertySymbol => (propertySymbol.Type, propertySymbol.ReturnsByRef),
InitializeParameter\CSharpInitializeMemberFromPrimaryConstructorParameterCodeRefactoringProvider.cs (1)
120IsImplicitConversion(compilation, source: parameter.Type, destination: property.Type) &&
LanguageServices\CSharpStructuralTypeDisplayService.cs (1)
52members.AddRange(property.Type.ToMinimalDisplayParts(semanticModel, position, s_minimalWithoutExpandedTuples).Select(p => p.MassageErrorTypeNames("?")));
SignatureHelp\AttributeSignatureHelpProvider.cs (1)
175var type = namedParameter is IFieldSymbol ? ((IFieldSymbol)namedParameter).Type : ((IPropertySymbol)namedParameter).Type;
SignatureHelp\ElementAccessExpressionSignatureHelpProvider.cs (1)
257result.AddRange(indexer.Type.ToMinimalDisplayParts(semanticModel, position));
Snippets\AbstractCSharpForLoopSnippetProvider.cs (1)
107return (property.Type.GenerateTypeSyntax(), generator.MemberAccessExpression(inlineExpression, property.Name));
src\roslyn\src\Analyzers\CSharp\Analyzers\UseIndexOrRangeOperator\Helpers.cs (2)
33p.Type.SpecialType == SpecialType.System_Int32) 133returnType.Equals(p.Type) &&
src\roslyn\src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordEngine.cs (3)
174.SequenceEqual(propertiesToAssign.Select(property => property.Type))) 255? result.Symbol.Type.GenerateTypeSyntax() 340var orderedPropertyTypesToAssign = propertiesToAssign.SelectAsArray(s => s.Type).OrderBy(type => type.Name);
src\roslyn\src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (1)
413property.Type.NullableAnnotation == NullableAnnotation.Annotated
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\PropertyGenerator.cs (1)
160var returnType = property.Type;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (2)
1562result.Add(new TypeInferenceInfo(property.Type)); 1724.Select(p => new TypeInferenceInfo(p.Type)));
Microsoft.CodeAnalysis.Extensions.Package (9)
Symbols\ISymbolExtensions.cs (3)
343IPropertySymbol propertySymbol => propertySymbol.Type, 662IPropertySymbol propertySymbol => propertySymbol.Type, 716if (!returnType.GetMembers().OfType<IPropertySymbol>().Any(p => p is { Name: WellKnownMemberNames.IsCompleted, Type.SpecialType: SpecialType.System_Boolean, GetMethod: not null }))
Symbols\ISymbolExtensions.RequiresUnsafeModifierVisitor.cs (1)
94symbol.Type.Accept(this) ||
Symbols\SignatureComparer.cs (2)
172this.SignatureTypeEquivalenceComparer.Equals(property1.Type, property2.Type);
Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
537!AreEquivalent(p1.Type, p2.Type, equivalentTypesWithDifferingAssemblies))
Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
207GetHashCode(p.Type, a)));
Microsoft.CodeAnalysis.Features (34)
Completion\Providers\AbstractObjectInitializerCompletionProvider.cs (1)
118IPropertySymbol propertySymbol => propertySymbol.Type,
Completion\Providers\AbstractOverrideCompletionProvider.cs (1)
76SymbolKind.Property => ((IPropertySymbol)symbol).Type,
Completion\Providers\ImportCompletionProvider\AbstractExtensionMethodImportCompletionProvider.cs (1)
118IPropertySymbol propertySymbol => propertySymbol.Type,
ConvertAnonymousType\AbstractConvertAnonymousTypeToClassCodeRefactoringProvider.cs (6)
56.Any(p => p.Type.ContainsAnonymousType()); 254properties.Select(p => p.Type) 270properties.SelectAsArray(prop => CodeGenerationSymbolFactory.CreateParameterSymbol(prop.Type, prop.Name)), 357prop.Type, refKind: default, explicitInterfaceImplementations: default, 373prop.Type, refKind: default, explicitInterfaceImplementations: default, 386prop.Type, prop.Name.ToCamelCase(trimLeadingTypePrefix: false));
ConvertAutoPropertyToFullProperty\AbstractConvertAutoPropertyToFullPropertyCodeRefactoringProvider.cs (1)
110propertySymbol.Type, fieldName,
ConvertForToForEach\AbstractConvertForToForEachCodeRefactoringProvider.cs (5)
293iterationType = currentProperty.Type; 514if (indexer?.Type != null) 515return indexer.Type; 522if (indexer?.Type != null) 523return indexer.Type;
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (2)
2572TypesEquivalent(oldProperty.Type, newProperty.Type, exact);
ExtractInterface\AbstractExtractInterfaceService.cs (1)
409type: property.Type,
GenerateType\AbstractGenerateTypeService.Editor.cs (1)
635_service.IsConversionImplicit(_semanticDocument.SemanticModel.Compilation, parameterType, property.Type);
InitializeParameter\AbstractInitializeMemberFromParameterCodeRefactoringProviderMemberCreation.cs (1)
649IsImplicitConversion(compilation, source: parameter.Type, destination: property.Type) &&
LanguageServices\AnonymousTypeDisplayService\AbstractStructuralTypeDisplayService.StructuralTypeCollectorVisitor.cs (1)
121symbol.Type.Accept(this);
MetadataAsSource\AbstractMetadataAsSourceService.WrappedPropertySymbol.cs (1)
52public ITypeSymbol Type => _symbol.Type;
QuickInfo\CommonSemanticQuickInfoProvider.ErrorVisitor.cs (1)
76=> Visit(symbol.Type);
ReplacePropertyWithMethods\AbstractReplacePropertyWithMethodsService.cs (1)
313parameterType = Generator.TypeExpression(_property.Type);
ReplacePropertyWithMethods\ReplacePropertyWithMethodsCodeRefactoringProvider.cs (1)
150comparer.Equals(m.Parameters[0].Type, property.Type));
Shared\Utilities\ExtractTypeHelpers.cs (1)
216DoesTypeReferenceTypeParameter(property.Type, typeParameter, checkedTypes);
Snippets\SnippetProviders\AbstractForLoopSnippetProvider.cs (1)
40.FirstOrDefault(p => p is { GetMethod: { } getMethod } && getMethod.IsAccessibleWithin(compilation.Assembly) && IsSuitableIntegerType(p.Type));
src\roslyn\src\Analyzers\Core\Analyzers\UseAutoProperty\AbstractUseAutoPropertyAnalyzer.cs (1)
423if (!property.Type.Equals(getterField.Type))
src\roslyn\src\Analyzers\Core\Analyzers\UseCollectionInitializer\UpdateExpressionState.cs (1)
205.Any(m => m is IPropertySymbol { Type: var propertyType, Parameters: [var propertyParameter] } &&
src\roslyn\src\Analyzers\Core\CodeFixes\GenerateConstructor\GenerateConstructorHelpers.cs (1)
361if (!IsConversionImplicit(document.SemanticModel.Compilation, parameterType, property.Type))
src\roslyn\src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.State.cs (1)
227TypeMemberType = propertySymbol.Type;
src\roslyn\src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementHelpers.cs (2)
33.WhereAsArray(p => !p.IsImplicitlyDeclared && p.Parameters.Length == 0 && p.GetMethod != null && includeMemberType(p.Type)); 134if (IsTypeLessAccessibleThanOtherType(propertySymbol.Type, second, []))
src\roslyn\src\Analyzers\Core\CodeFixes\UseAutoProperty\AbstractUseAutoPropertyCodeFixProvider.cs (1)
266property.Type.NullableAnnotation is NullableAnnotation.NotAnnotated;
Microsoft.CodeAnalysis.Razor.Compiler (15)
CSharp\DefaultTagHelperDescriptorFactory.cs (4)
204builder.TypeName = property.Type.GetFullName(); 213if (property.Type.TypeKind == TypeKind.Enum) 302if (property.Type is INamedTypeSymbol propertyType && 308var dictionaryType = property.Type.AllInterfaces
Language\TagHelpers\Producers\ComponentTagHelperProducer.cs (11)
198pb.TypeName = property.Type.GetFullName(); 205builder.GloballyQualifiedTypeName = property.Type.GetGloballyQualifiedFullName(); 225if (HasTypeParameter(property.Type)) 292var methodSymbol = ((INamedTypeSymbol)prop.Type).DelegateInvokeMethod.AssumeNotNull(); 362Type.SpecialType: SpecialType.System_Boolean, 707return property.Type.TypeKind == TypeKind.Enum; 712return property.Type.HasFullName(ComponentsApi.RenderFragment.MetadataName) || 713(property.Type is INamedTypeSymbol { IsGenericType: true } namedType && 719return property.Type.HasFullName(ComponentsApi.EventCallback.MetadataName) || 720(property.Type is INamedTypeSymbol { IsGenericType: true } namedType && 726return property.Type.TypeKind == TypeKind.Delegate;
Microsoft.CodeAnalysis.ResxSourceGenerator (12)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.PropertyMetricData.cs (1)
36MetricsHelper.AddCoupledNamedTypes(coupledTypesBuilder, context.WellKnownTypeProvider, property.Type);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousTypeSymbolKey.cs (2)
22var propertyTypes = properties.SelectAsArray(p => p.Type); 42getContextualSymbol: (contextualSymbol, i) => SafeGet(contextualProperties, i)?.Type,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions.cs (3)
343IPropertySymbol propertySymbol => propertySymbol.Type, 662IPropertySymbol propertySymbol => propertySymbol.Type, 716if (!returnType.GetMembers().OfType<IPropertySymbol>().Any(p => p is { Name: WellKnownMemberNames.IsCompleted, Type.SpecialType: SpecialType.System_Boolean, GetMethod: not null }))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions.RequiresUnsafeModifierVisitor.cs (1)
94symbol.Type.Accept(this) ||
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SignatureComparer.cs (2)
172this.SignatureTypeEquivalenceComparer.Equals(property1.Type, property2.Type);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
537!AreEquivalent(p1.Type, p2.Type, equivalentTypesWithDifferingAssemblies))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
207GetHashCode(p.Type, a)));
Microsoft.CodeAnalysis.VisualBasic (4)
Operations\VisualBasicOperationFactory_Methods.vb (1)
337[property].Type,
SymbolDisplay\SymbolDisplayVisitor.Members.vb (1)
118symbol.Type.Accept(Me.NotFirstVisitor)
SymbolDisplay\SymbolDisplayVisitor.Types.vb (1)
421Return prop.Name & " As " & prop.Type.ToDisplayString(Format)
Symbols\PropertySymbol.vb (1)
615Private ReadOnly Property IPropertySymbol_Type As ITypeSymbol Implements IPropertySymbol.Type
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (7)
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\UseAutoProperty\VisualBasicUseAutoPropertyCodeFixProvider.vb (1)
85Dim arrayType = TryCast(semanticsModel.GetDeclaredSymbol(propertyDeclaration, cancellationToken).Type, IArrayTypeSymbol)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\PropertyGenerator.vb (2)
141SyntaxFactory.Parameter(identifier:=SyntaxFactory.ModifiedIdentifier("value")).WithAsClause(SyntaxFactory.SimpleAsClause(type:=[property].Type.GenerateTypeSyntax()))))), 240Return SyntaxFactory.SimpleAsClause(attributes, [property].Type.GenerateTypeSyntax())
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\SymbolExtensions.vb (1)
28Dim type = DirectCast(symbol, IPropertySymbol).Type
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicTypeInferenceService.TypeInferrer.vb (2)
633Return CreateResult(propertySymbol.Type) 770TryCast(memberSymbol, IPropertySymbol)?.Type)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Utilities\SymbolExtensions.vb (1)
22Return propertySymbol.Type
Microsoft.CodeAnalysis.VisualBasic.Features (7)
CodeFixes\GenerateEvent\GenerateEventCodeFixProvider.vb (1)
350targetType = TryCast(Await SymbolFinder.FindSourceDefinitionAsync(withEventsProperty.Type, document.Project.Solution, cancellationToken).ConfigureAwait(False), INamedTypeSymbol)
Completion\CompletionProviders\HandlesClauseCompletionProvider.vb (1)
131Dim type = TryCast(symbolInfo.Symbol, IPropertySymbol)?.Type
ExtractMethod\VisualBasicSelectionResult.vb (1)
139Return propertySymbol.Type
NavigationBar\VisualBasicNavigationBarItemService.vb (1)
140propertySymbol.Type,
SignatureHelp\AbstractOrdinaryMethodSignatureHelpProvider.vb (1)
70parts.AddRange([property].Type.ToMinimalDisplayParts(semanticModel, position))
SignatureHelp\InvocationExpressionSignatureHelpProvider.ElementAccess.vb (1)
72parts.AddRange([property].Type.ToMinimalDisplayParts(semanticModel, position))
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\UseAutoProperty\VisualBasicUseAutoPropertyCodeFixProvider.vb (1)
85Dim arrayType = TryCast(semanticsModel.GetDeclaredSymbol(propertyDeclaration, cancellationToken).Type, IArrayTypeSymbol)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (6)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\PropertyGenerator.vb (2)
141SyntaxFactory.Parameter(identifier:=SyntaxFactory.ModifiedIdentifier("value")).WithAsClause(SyntaxFactory.SimpleAsClause(type:=[property].Type.GenerateTypeSyntax()))))), 240Return SyntaxFactory.SimpleAsClause(attributes, [property].Type.GenerateTypeSyntax())
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\SymbolExtensions.vb (1)
28Dim type = DirectCast(symbol, IPropertySymbol).Type
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicTypeInferenceService.TypeInferrer.vb (2)
633Return CreateResult(propertySymbol.Type) 770TryCast(memberSymbol, IPropertySymbol)?.Type)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Utilities\SymbolExtensions.vb (1)
22Return propertySymbol.Type
Microsoft.CodeAnalysis.Workspaces (21)
Editing\SyntaxGenerator.cs (2)
393this.SyntaxGeneratorInternal.TypeExpression(property.Type, property.RefKind), 454this.SyntaxGeneratorInternal.TypeExpression(indexer.Type, indexer.RefKind),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousTypeSymbolKey.cs (2)
22var propertyTypes = properties.SelectAsArray(p => p.Type); 42getContextualSymbol: (contextualSymbol, i) => SafeGet(contextualProperties, i)?.Type,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions.cs (3)
343IPropertySymbol propertySymbol => propertySymbol.Type, 662IPropertySymbol propertySymbol => propertySymbol.Type, 716if (!returnType.GetMembers().OfType<IPropertySymbol>().Any(p => p is { Name: WellKnownMemberNames.IsCompleted, Type.SpecialType: SpecialType.System_Boolean, GetMethod: not null }))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions.RequiresUnsafeModifierVisitor.cs (1)
94symbol.Type.Accept(this) ||
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SignatureComparer.cs (2)
172this.SignatureTypeEquivalenceComparer.Equals(property1.Type, property2.Type);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
537!AreEquivalent(p1.Type, p2.Type, equivalentTypesWithDifferingAssemblies))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
207GetHashCode(p.Type, a)));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (1)
557property.Type,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IPropertySymbolExtensions.cs (2)
30property.Type, 56property.Type,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (5)
84IPropertySymbol property => property.Type, 215if (compilation.ClassifyCommonConversion(conflictingProperty.Type, property.Type) is { Exists: true, IsImplicit: true }) 256if (compilation.ClassifyCommonConversion(property.Type, conflictingProperty.Type) is { Exists: true, IsImplicit: true })
Microsoft.Extensions.Options.SourceGeneration (3)
Parser.cs (1)
322memberType = prop.Type;
ParserUtilities.cs (2)
82property.Type.SpecialType == returnType && property.DeclaredAccessibility == Accessibility.Public && 96property.Type.SpecialType == returnType && property.Kind == SymbolKind.Property &&
Microsoft.Gen.ComplianceReports (1)
Parser.cs (1)
144classifiedMembers = ClassifyMember(classifiedMembers, property, property.Type);
Microsoft.Gen.ContextualOptions (3)
Parser.cs (3)
81.Where(prop => !prop.Type.IsRefLikeType) 82.Where(prop => prop.Type.TypeKind != TypeKind.Pointer) 83.Where(prop => prop.Type.TypeKind != TypeKind.FunctionPointer)
Microsoft.Gen.Logging (20)
Parsing\Parser.cs (1)
653IPropertySymbol ps => ps.Type,
Parsing\Parser.LogProperties.cs (17)
182var extractedType = property.Type; 198Type = property.Type.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat), 200IsReference = property.Type.IsReferenceType, 201IsEnumerable = property.Type.IsEnumerable(symbols), 202IsNullable = property.Type.NullableAnnotation == NullableAnnotation.Annotated, 203ImplementsIConvertible = property.Type.ImplementsIConvertible(symbols), 204ImplementsIFormattable = property.Type.ImplementsIFormattable(symbols), 205ImplementsISpanFormattable = property.Type.ImplementsISpanFormattable(symbols), 206HasCustomToString = property.Type.HasCustomToString(), 219if (property.Type.IsValueType && !property.Type.IsNullableOfT()) 263Diag(DiagDescriptors.LogPropertiesCycleDetected, paramSymbol.GetLocation(), paramName, namedType.ToDisplayString(), property.Type.ToDisplayString(), lm.Name); 269extractedType = property.Type; 276if (CanLogProperties(property, property.Type, symbols, silent: logPropertiesAttribute == null)) 307|| (property.Type.TypeKind == TypeKind.Delegate) 317&& property.Type.Kind != SymbolKind.TypeParameter 320Diag(DiagDescriptors.DefaultToString, property.GetLocation(), property.Type, property.Name);
Parsing\Parser.Records.cs (1)
65IPropertySymbol property => new(property.Name, property.Type, property),
Parsing\Parser.TagProvider.cs (1)
54var propTypeSymbol = propSymbol.Type;
Microsoft.Gen.MetadataExtractor (4)
src\Generators\Microsoft.Gen.ComplianceReports\Parser.cs (1)
144classifiedMembers = ClassifyMember(classifiedMembers, property, property.Type);
src\Generators\Microsoft.Gen.Metrics\Parser.cs (3)
713kind = propertySymbol!.Type.TypeKind; 714specialType = propertySymbol.Type.SpecialType; 715typeSymbol = propertySymbol.Type;
Microsoft.Gen.Metrics (3)
Parser.cs (3)
713kind = propertySymbol!.Type.TypeKind; 714specialType = propertySymbol.Type.SpecialType; 715typeSymbol = propertySymbol.Type;
Microsoft.Gen.MetricsReports (3)
src\Generators\Microsoft.Gen.Metrics\Parser.cs (3)
713kind = propertySymbol!.Type.TypeKind; 714specialType = propertySymbol.Type.SpecialType; 715typeSymbol = propertySymbol.Type;
Microsoft.Maui.Controls.BindingSourceGen (1)
BindingSourceGenerator.cs (1)
274 IPropertySymbol propertySymbol => propertySymbol.Type.IsTypeNullable(enabledNullable),
Roslyn.Diagnostics.Analyzers (24)
AbstractDoNotCopyValue.cs (3)
339&& Cache.IsNonCopyableType(symbol.Type)) 341_context.ReportDiagnostic(symbol.CreateDiagnostic(NoAutoPropertyRule, symbol.Type, symbol)); 1487CheckTypeSymbolInUnsupportedContext(operation, property.Type);
AbstractExposeMemberForTesting`1.cs (1)
155syntaxGenerator.TypeExpression(propertySymbol.Type),
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.PropertyMetricData.cs (1)
36MetricsHelper.AddCoupledNamedTypes(coupledTypesBuilder, context.WellKnownTypeProvider, property.Type);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousTypeSymbolKey.cs (2)
22var propertyTypes = properties.SelectAsArray(p => p.Type); 42getContextualSymbol: (contextualSymbol, i) => SafeGet(contextualProperties, i)?.Type,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions.cs (3)
343IPropertySymbol propertySymbol => propertySymbol.Type, 662IPropertySymbol propertySymbol => propertySymbol.Type, 716if (!returnType.GetMembers().OfType<IPropertySymbol>().Any(p => p is { Name: WellKnownMemberNames.IsCompleted, Type.SpecialType: SpecialType.System_Boolean, GetMethod: not null }))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions.RequiresUnsafeModifierVisitor.cs (1)
94symbol.Type.Accept(this) ||
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SignatureComparer.cs (2)
172this.SignatureTypeEquivalenceComparer.Equals(property1.Type, property2.Type);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
537!AreEquivalent(p1.Type, p2.Type, equivalentTypesWithDifferingAssemblies))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
207GetHashCode(p.Type, a)));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (1)
557property.Type,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IPropertySymbolExtensions.cs (2)
30property.Type, 56property.Type,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (5)
84IPropertySymbol property => property.Type, 215if (compilation.ClassifyCommonConversion(conflictingProperty.Type, property.Type) is { Exists: true, IsImplicit: true }) 256if (compilation.ClassifyCommonConversion(property.Type, conflictingProperty.Type) is { Exists: true, IsImplicit: true })
Roslyn.Diagnostics.CSharp.Analyzers (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\PropertyGenerator.cs (1)
160var returnType = property.Type;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (2)
1562result.Add(new TypeInferenceInfo(property.Type)); 1724.Select(p => new TypeInferenceInfo(p.Type)));
Roslyn.Diagnostics.VisualBasic.Analyzers (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\PropertyGenerator.vb (2)
141SyntaxFactory.Parameter(identifier:=SyntaxFactory.ModifiedIdentifier("value")).WithAsClause(SyntaxFactory.SimpleAsClause(type:=[property].Type.GenerateTypeSyntax()))))), 240Return SyntaxFactory.SimpleAsClause(attributes, [property].Type.GenerateTypeSyntax())
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicTypeInferenceService.TypeInferrer.vb (1)
770TryCast(memberSymbol, IPropertySymbol)?.Type)
System.Text.Json.SourceGeneration (7)
Helpers\RoslynExtensions.cs (4)
216return member is IFieldSymbol fs ? fs.Type : ((IPropertySymbol)member).Type; 303if (property.Type.IsNullableType()) 311isGetterNonNullable = property.GetMethod != null && IsOutputTypeNonNullable(property, property.Type); 312isSetterNonNullable = property.SetMethod != null && IsInputTypeNonNullable(property, property.Type);
JsonSourceGenerator.Parser.cs (3)
1068SymbolEqualityComparer.Default.Equals(valueProperty.Type, _knownSymbols.ObjectType)) 1635memberType: propertyInfo.Type, 1715SymbolEqualityComparer.Default.Equals(property.Type, ignoredMember.GetMemberType());
System.Text.RegularExpressions.Generator (1)
RegexGenerator.Parser.cs (1)
133!SymbolEqualityComparer.Default.Equals(regexPropertySymbol.Type, regexSymbol))
System.Windows.Forms.Analyzers.CSharp (2)
System\Windows\Forms\CSharp\Analyzers\MissingPropertySerializationConfiguration\MissingPropertySerializationConfigurationAnalyzer.cs (2)
35if (propertySymbol.Type.Name == nameof(ISite) 36&& propertySymbol.Type.ContainingNamespace.ToString() == "System.ComponentModel")
System.Windows.Forms.Analyzers.VisualBasic (2)
Analyzers\MissingPropertySerializationConfiguration\MissingPropertySerializationConfigurationDiagnosticAnalyzer.vb (2)
36If propertySymbol.Type.Name = NameOf(ISite) AndAlso 37propertySymbol.Type.ContainingNamespace.ToString() = "System.ComponentModel" Then