1 implementation of IDynamicTypeSymbol
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\DynamicTypeSymbol.cs (1)
10internal sealed class DynamicTypeSymbol : TypeSymbol, IDynamicTypeSymbol
62 references to IDynamicTypeSymbol
Microsoft.CodeAnalysis (4)
DocumentationCommentId.cs (1)
615public override bool VisitDynamicType(IDynamicTypeSymbol symbol)
Symbols\SymbolVisitor.cs (1)
38public virtual void VisitDynamicType(IDynamicTypeSymbol symbol)
Symbols\SymbolVisitor`1.cs (1)
41public virtual TResult? VisitDynamicType(IDynamicTypeSymbol symbol)
Symbols\SymbolVisitor`2.cs (1)
46public virtual TResult VisitDynamicType(IDynamicTypeSymbol symbol, TArgument argument)
Microsoft.CodeAnalysis.CodeStyle (18)
src\Analyzers\Core\Analyzers\UseCollectionInitializer\AbstractObjectCreationExpressionAnalyzer.cs (3)
147if (local.Type is IDynamicTypeSymbol) 169if (typeInfo.Type is IDynamicTypeSymbol || typeInfo.ConvertedType is IDynamicTypeSymbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.RequiresUnsafeModifierVisitor.cs (1)
38public override bool VisitDynamicType(IDynamicTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.AnonymousTypeRemover.cs (1)
19public override ITypeSymbol VisitDynamicType(IDynamicTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.CollectTypeParameterSymbolsVisitor.cs (1)
23public override void VisitDynamicType(IDynamicTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.MinimalAccessibilityVisitor.cs (1)
24public override Accessibility VisitDynamicType(IDynamicTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (1)
44public override ITypeSymbol VisitDynamicType(IDynamicTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.UnavailableTypeParameterRemover.cs (1)
20public override ITypeSymbol VisitDynamicType(IDynamicTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.UnnamedErrorTypeRemover.cs (1)
19public override ITypeSymbol VisitDynamicType(IDynamicTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SemanticFacts\ISemanticFactsExtensions.cs (1)
43if (innerTypeInfo.Type is IDynamicTypeSymbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.DynamicTypeSymbolKey.cs (3)
9private sealed class DynamicTypeSymbolKey : AbstractSymbolKey<IDynamicTypeSymbol> 13public sealed override void Create(IDynamicTypeSymbol symbol, SymbolKeyWriter writer) 20SymbolKeyReader reader, IDynamicTypeSymbol? contextualSymbol, out string? failureReason)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyWriter.cs (1)
338public override void VisitDynamicType(IDynamicTypeSymbol dynamicTypeSymbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
118SymbolKind.DynamicType => NullableAnnotationsEquivalent((IDynamicTypeSymbol)x, (IDynamicTypeSymbol)y),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
47return Hash.Combine(GetNullableAnnotationsHashCode((ITypeSymbol)x), Hash.Combine(typeof(IDynamicTypeSymbol), currentHash));
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\TypeParameterSubstitution.cs (1)
44public override ValueTask VisitDynamicType(IDynamicTypeSymbol symbol)
Microsoft.CodeAnalysis.CSharp (1)
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
169public override void VisitDynamicType(IDynamicTypeSymbol symbol)
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryLambdaExpression\CSharpRemoveUnnecessaryLambdaExpressionDiagnosticAnalyzer.cs (2)
271if (type1 is IDynamicTypeSymbol != type2 is IDynamicTypeSymbol)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (1)
110public override TypeSyntax VisitDynamicType(IDynamicTypeSymbol symbol)
Microsoft.CodeAnalysis.CSharp.Features (2)
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryLambdaExpression\CSharpRemoveUnnecessaryLambdaExpressionDiagnosticAnalyzer.cs (2)
271if (type1 is IDynamicTypeSymbol != type2 is IDynamicTypeSymbol)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Compilation\SymbolVisitorTests.cs (3)
69public override void VisitDynamicType(IDynamicTypeSymbol symbol) 242public override string VisitDynamicType(IDynamicTypeSymbol symbol) 473public override int VisitDynamicType(IDynamicTypeSymbol symbol, StringBuilder argument)
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (1)
110public override TypeSyntax VisitDynamicType(IDynamicTypeSymbol symbol)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
AbstractTypeParameterChecker.cs (1)
131public sealed override void VisitDynamicType(IDynamicTypeSymbol symbol)
Microsoft.CodeAnalysis.Features (7)
ExtractMethod\MethodExtractor.TypeParameterCollector.cs (1)
30public override void VisitDynamicType(IDynamicTypeSymbol dynamicTypeSymbol)
LanguageServices\AnonymousTypeDisplayService\AbstractStructuralTypeDisplayService.StructuralTypeCollectorVisitor.cs (1)
33public override void VisitDynamicType(IDynamicTypeSymbol symbol)
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (1)
307else if (symbol is IDynamicTypeSymbol)
src\Analyzers\Core\Analyzers\UseCollectionInitializer\AbstractObjectCreationExpressionAnalyzer.cs (3)
147if (local.Type is IDynamicTypeSymbol) 169if (typeInfo.Type is IDynamicTypeSymbol || typeInfo.ConvertedType is IDynamicTypeSymbol)
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\TypeParameterSubstitution.cs (1)
44public override ValueTask VisitDynamicType(IDynamicTypeSymbol symbol)
Microsoft.CodeAnalysis.VisualBasic (1)
SymbolDisplay\SymbolDisplayVisitor.Types.vb (1)
72Public Overrides Sub VisitDynamicType(symbol As IDynamicTypeSymbol)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeSyntaxGeneratorVisitor.vb (1)
61Public Overrides Function VisitDynamicType(symbol As IDynamicTypeSymbol) As TypeSyntax
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeSyntaxGeneratorVisitor.vb (1)
61Public Overrides Function VisitDynamicType(symbol As IDynamicTypeSymbol) As TypeSyntax
Microsoft.CodeAnalysis.Workspaces (17)
FindSymbols\FindReferences\Finders\ExplicitConversionSymbolReferenceFinder.UnderlyingNamedTypeVisitor.cs (1)
22public override INamedTypeSymbol? VisitDynamicType(IDynamicTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.RequiresUnsafeModifierVisitor.cs (1)
38public override bool VisitDynamicType(IDynamicTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.AnonymousTypeRemover.cs (1)
19public override ITypeSymbol VisitDynamicType(IDynamicTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.CollectTypeParameterSymbolsVisitor.cs (1)
23public override void VisitDynamicType(IDynamicTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.MinimalAccessibilityVisitor.cs (1)
24public override Accessibility VisitDynamicType(IDynamicTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (1)
44public override ITypeSymbol VisitDynamicType(IDynamicTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.UnavailableTypeParameterRemover.cs (1)
20public override ITypeSymbol VisitDynamicType(IDynamicTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.UnnamedErrorTypeRemover.cs (1)
19public override ITypeSymbol VisitDynamicType(IDynamicTypeSymbol symbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SemanticFacts\ISemanticFactsExtensions.cs (1)
43if (innerTypeInfo.Type is IDynamicTypeSymbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.DynamicTypeSymbolKey.cs (3)
9private sealed class DynamicTypeSymbolKey : AbstractSymbolKey<IDynamicTypeSymbol> 13public sealed override void Create(IDynamicTypeSymbol symbol, SymbolKeyWriter writer) 20SymbolKeyReader reader, IDynamicTypeSymbol? contextualSymbol, out string? failureReason)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyWriter.cs (1)
338public override void VisitDynamicType(IDynamicTypeSymbol dynamicTypeSymbol)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
118SymbolKind.DynamicType => NullableAnnotationsEquivalent((IDynamicTypeSymbol)x, (IDynamicTypeSymbol)y),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
47return Hash.Combine(GetNullableAnnotationsHashCode((ITypeSymbol)x), Hash.Combine(typeof(IDynamicTypeSymbol), currentHash));
Workspace\Solution\SolutionCompilationState.ICompilationTracker.cs (1)
22/// cref="IModuleSymbol"/> or <see cref="IDynamicTypeSymbol"/>.
Microsoft.VisualStudio.LanguageServices (1)
Progression\GraphNodeIdCreation.cs (1)
139else if (symbol is IDynamicTypeSymbol)