213 references to ErrorType
GenerateDocumentationAndConfigFiles (6)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (2)
26
internal const SymbolKind AllKinds = SymbolKind.
ErrorType
;
280
case SymbolKind.
ErrorType
:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions_Accessibility.cs (1)
126
case SymbolKind.
ErrorType
:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (3)
127
SymbolKind.
ErrorType
=> NamedTypesAreEquivalent((INamedTypeSymbol)x, (INamedTypeSymbol)y, equivalentTypesWithDifferingAssemblies),
367
if (x.Kind == SymbolKind.
ErrorType
&&
371
Debug.Assert(y.Kind == SymbolKind.
ErrorType
);
ILLink.RoslynAnalyzer (1)
TrimAnalysis\SingleValueExtensions.cs (1)
38
SymbolKind.
ErrorType
=> UnknownValue.Instance,
Microsoft.CodeAnalysis (1)
Compilation\Compilation.cs (1)
1762
case SymbolKind.
ErrorType
:
Microsoft.CodeAnalysis.Analyzers (6)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (2)
26
internal const SymbolKind AllKinds = SymbolKind.
ErrorType
;
280
case SymbolKind.
ErrorType
:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions_Accessibility.cs (1)
126
case SymbolKind.
ErrorType
:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (3)
127
SymbolKind.
ErrorType
=> NamedTypesAreEquivalent((INamedTypeSymbol)x, (INamedTypeSymbol)y, equivalentTypesWithDifferingAssemblies),
367
if (x.Kind == SymbolKind.
ErrorType
&&
371
Debug.Assert(y.Kind == SymbolKind.
ErrorType
);
Microsoft.CodeAnalysis.AnalyzerUtilities (6)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (2)
26
internal const SymbolKind AllKinds = SymbolKind.
ErrorType
;
280
case SymbolKind.
ErrorType
:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions_Accessibility.cs (1)
126
case SymbolKind.
ErrorType
:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (3)
127
SymbolKind.
ErrorType
=> NamedTypesAreEquivalent((INamedTypeSymbol)x, (INamedTypeSymbol)y, equivalentTypesWithDifferingAssemblies),
367
if (x.Kind == SymbolKind.
ErrorType
&&
371
Debug.Assert(y.Kind == SymbolKind.
ErrorType
);
Microsoft.CodeAnalysis.CodeStyle (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions_Accessibility.cs (1)
126
case SymbolKind.
ErrorType
:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (3)
127
SymbolKind.
ErrorType
=> NamedTypesAreEquivalent((INamedTypeSymbol)x, (INamedTypeSymbol)y, equivalentTypesWithDifferingAssemblies),
367
if (x.Kind == SymbolKind.
ErrorType
&&
371
Debug.Assert(y.Kind == SymbolKind.
ErrorType
);
Microsoft.CodeAnalysis.CSharp (73)
Binder\Binder.cs (1)
458
RoslynDebug.Assert(member is null || member.Kind != SymbolKind.
ErrorType
);
Binder\Binder_Attributes.cs (1)
617
if (namedArgumentNameSymbol.Kind == SymbolKind.
ErrorType
)
Binder\Binder_Crefs.cs (1)
53
if (result.Kind == SymbolKind.
ErrorType
)
Binder\Binder_Expressions.cs (3)
1726
bool isNamedType = (symbol.Kind == SymbolKind.NamedType) || (symbol.Kind == SymbolKind.
ErrorType
);
2183
case SymbolKind.
ErrorType
:
8685
case SymbolKind.
ErrorType
:
Binder\Binder_Patterns.cs (1)
1059
if (strippedInputType.Kind is not SymbolKind.
ErrorType
and not SymbolKind.DynamicType and not SymbolKind.TypeParameter &&
Binder\Binder_Symbols.cs (3)
2359
else if (singleResult.Kind == SymbolKind.
ErrorType
)
2418
((object)qualifierOpt == null || qualifierOpt.Kind != SymbolKind.
ErrorType
)) // Suppress cascading.
2727
if (forwardedType.Kind == SymbolKind.
ErrorType
)
Binder\HostObjectModeBinder.cs (2)
36
if (hostObjectType.Kind == SymbolKind.
ErrorType
)
55
if (hostObjectType.Kind != SymbolKind.
ErrorType
)
Binder\InMethodBinder.cs (1)
257
if (newSymbolKind == SymbolKind.
ErrorType
)
Binder\LocalScopeBinder.cs (1)
506
if (newSymbolKind == SymbolKind.
ErrorType
) return true;
Binder\Semantics\AccessCheck.cs (1)
183
case SymbolKind.
ErrorType
:
Binder\WithLambdaParametersBinder.cs (1)
130
case SymbolKind.
ErrorType
:
BoundTree\UnboundLambda.cs (1)
426
bool hasErrors = !types.IsDefault && types.Any(static t => t.Type?.Kind == SymbolKind.
ErrorType
);
Compilation\CSharpSemanticModel.cs (2)
581
if (type?.Kind != SymbolKind.
ErrorType
)
1775
if (lookupResult.Symbols.Any(t => t.Kind == SymbolKind.NamedType || t.Kind == SymbolKind.Namespace || t.Kind == SymbolKind.
ErrorType
))
Compilation\SyntaxTreeSemanticModel.cs (1)
366
if ((object)result == null || result.Kind == SymbolKind.
ErrorType
)
Compiler\ClsComplianceChecker.cs (1)
1246
System.Diagnostics.Debug.Assert(symbol.Kind == SymbolKind.
ErrorType
);
Compiler\DocumentationCommentCompiler.cs (1)
782
case SymbolKind.
ErrorType
:
Compiler\DocumentationCommentCompiler.IncludeElementExpander.cs (2)
569
case SymbolKind.
ErrorType
:
591
case SymbolKind.
ErrorType
:
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (2)
458
SymbolKind.NamedType or SymbolKind.
ErrorType
=> ((NamedTypeSymbol)otherContainer).TypeParameters,
780
case SymbolKind.
ErrorType
:
Emitter\EditAndContinue\EmitHelpers.cs (1)
173
if (type.Kind == SymbolKind.
ErrorType
)
Emitter\Model\PEModuleBuilder.cs (3)
1129
if (namedTypeSymbol.OriginalDefinition.Kind == SymbolKind.
ErrorType
)
1134
if (diagInfo == null && namedTypeSymbol.Kind == SymbolKind.
ErrorType
)
1302
case SymbolKind.
ErrorType
:
FlowAnalysis\DefiniteAssignment.VariableIdentifier.cs (1)
35
SymbolKind.
ErrorType
=> true,
FlowAnalysis\NullableWalker.cs (1)
2091
case { Kind: SymbolKind.
ErrorType
}:
Lowering\SynthesizedSubmissionFields.cs (1)
64
if ((object)hostObjectTypeSymbol != null && hostObjectTypeSymbol.Kind != SymbolKind.
ErrorType
)
Symbols\AbstractTypeMap.cs (1)
118
case SymbolKind.
ErrorType
:
Symbols\Attributes\SourceAttributeData.cs (1)
290
if (parameterType.Kind != SymbolKind.NamedType && parameterType.Kind != SymbolKind.
ErrorType
)
Symbols\ErrorTypeSymbol.cs (1)
229
return SymbolKind.
ErrorType
;
Symbols\ExtendedErrorTypeSymbol.cs (2)
38
(containingSymbol.Kind == SymbolKind.
ErrorType
));
317
case SymbolKind.
ErrorType
:
Symbols\MemberSymbolExtensions.cs (4)
469
case SymbolKind.
ErrorType
:
543
case SymbolKind.
ErrorType
:
575
case SymbolKind.
ErrorType
:
593
case SymbolKind.
ErrorType
:
Symbols\Metadata\PE\DynamicTypeDecoder.cs (1)
153
case SymbolKind.
ErrorType
:
Symbols\Metadata\PE\MetadataDecoder.cs (3)
230
case SymbolKind.
ErrorType
:
316
Debug.Assert(ReferenceEquals(newresult, result) || (newresult.Kind == SymbolKind.
ErrorType
));
544
Debug.Assert(scope.Kind == SymbolKind.NamedType || scope.Kind == SymbolKind.
ErrorType
);
Symbols\Metadata\PE\PEModuleSymbol.cs (1)
542
return candidate.Kind != SymbolKind.
ErrorType
|| !(candidate is MissingMetadataTypeSymbol);
Symbols\Metadata\PE\SymbolFactory.cs (1)
93
if (arg.Key.Kind == SymbolKind.
ErrorType
&&
Symbols\Metadata\PE\TupleTypeDecoder.cs (1)
159
case SymbolKind.
ErrorType
:
Symbols\MetadataOrSourceAssemblySymbol.cs (2)
97
(corType.Kind == SymbolKind.
ErrorType
&&
98
_lazySpecialTypes[(int)typeId].Kind == SymbolKind.
ErrorType
));
Symbols\MethodSymbolExtensions.cs (1)
107
case SymbolKind.
ErrorType
:
Symbols\NamespaceOrTypeSymbol.cs (1)
263
if (scope.Kind == SymbolKind.
ErrorType
)
Symbols\Retargeting\RetargetingSymbolTranslator.cs (3)
227
if (type.Kind == SymbolKind.
ErrorType
)
494
if (newDefinition.Kind == SymbolKind.
ErrorType
&& !newDefinition.IsGenericType)
659
case SymbolKind.
ErrorType
:
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (1)
841
else if (imported.Kind != SymbolKind.
ErrorType
)
Symbols\Symbol.cs (2)
199
case SymbolKind.
ErrorType
:
649
case SymbolKind.
ErrorType
:
Symbols\SymbolDistinguisher.cs (2)
57
case SymbolKind.
ErrorType
:
194
Debug.Assert(unwrappedSymbol.Kind == SymbolKind.DynamicType || unwrappedSymbol.Kind == SymbolKind.
ErrorType
|| unwrappedSymbol.Kind == SymbolKind.FunctionPointerType);
Symbols\SymbolExtensions.cs (4)
139
case SymbolKind.
ErrorType
:
205
case SymbolKind.
ErrorType
:
260
case SymbolKind.
ErrorType
:
516
case SymbolKind.
ErrorType
:
Symbols\TypeSymbolExtensions.cs (3)
370
return type.Kind == SymbolKind.
ErrorType
;
1832
case SymbolKind.
ErrorType
:
2004
case SymbolKind.
ErrorType
:
Symbols\TypeUnification.cs (2)
160
case SymbolKind.
ErrorType
:
293
case SymbolKind.
ErrorType
:
Symbols\VarianceSafety.cs (1)
336
case SymbolKind.
ErrorType
:
Utilities\TypeSymbolExtensions.cs (2)
45
case SymbolKind.
ErrorType
:
128
case SymbolKind.
ErrorType
:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
639
if (method.TypeArguments.Any(static t => t.Kind == SymbolKind.
ErrorType
))
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
639
if (method.TypeArguments.Any(static t => t.Kind == SymbolKind.
ErrorType
))
Microsoft.CodeAnalysis.Extensions.Package (4)
Symbols\ISymbolExtensions_Accessibility.cs (1)
126
case SymbolKind.
ErrorType
:
Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (3)
127
SymbolKind.
ErrorType
=> NamedTypesAreEquivalent((INamedTypeSymbol)x, (INamedTypeSymbol)y, equivalentTypesWithDifferingAssemblies),
367
if (x.Kind == SymbolKind.
ErrorType
&&
371
Debug.Assert(y.Kind == SymbolKind.
ErrorType
);
Microsoft.CodeAnalysis.Features (1)
Shared\Extensions\ISymbolExtensions_2.cs (1)
57
case SymbolKind.
ErrorType
:
Microsoft.CodeAnalysis.ResxSourceGenerator (6)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (2)
26
internal const SymbolKind AllKinds = SymbolKind.
ErrorType
;
280
case SymbolKind.
ErrorType
:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions_Accessibility.cs (1)
126
case SymbolKind.
ErrorType
:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (3)
127
SymbolKind.
ErrorType
=> NamedTypesAreEquivalent((INamedTypeSymbol)x, (INamedTypeSymbol)y, equivalentTypesWithDifferingAssemblies),
367
if (x.Kind == SymbolKind.
ErrorType
&&
371
Debug.Assert(y.Kind == SymbolKind.
ErrorType
);
Microsoft.CodeAnalysis.VisualBasic (89)
Binding\Binder_Expressions.vb (4)
660
If symbols.Count = 1 AndAlso symbols(0).Kind = SymbolKind.
ErrorType
Then
3302
Case SymbolKind.NamedType, SymbolKind.
ErrorType
3362
Case SymbolKind.NamedType, SymbolKind.
ErrorType
3443
If candidate Is Nothing OrElse candidate.Kind = SymbolKind.
ErrorType
Then
Binding\Binder_Imports.vb (2)
118
If aliasTarget.Kind <> SymbolKind.
ErrorType
Then
181
If importedSymbol.Kind <> SymbolKind.
ErrorType
Then
Binding\Binder_Invocation.vb (1)
2304
If targetType.Kind <> SymbolKind.
ErrorType
Then
Binding\Binder_Lookup.vb (1)
181
Case SymbolKind.NamedType, SymbolKind.
ErrorType
Binding\DocumentationCommentCrefBinder.vb (1)
855
Case SymbolKind.NamedType, SymbolKind.
ErrorType
Binding\DocumentationCommentCrefBinder_Compat.vb (1)
400
Case SymbolKind.NamedType, SymbolKind.
ErrorType
Compilation\ClsComplianceChecker.vb (1)
826
Debug.Assert(symbol.Kind = SymbolKind.
ErrorType
)
Compilation\NamespaceScopeBuilder.vb (2)
38
ElseIf target.Kind <> SymbolKind.
ErrorType
AndAlso Not target.ContainingAssembly.IsLinked Then
53
Debug.Assert(target.Kind <> SymbolKind.
ErrorType
)
Emit\EditAndContinue\EmitHelpers.vb (1)
161
If type.Kind = SymbolKind.
ErrorType
Then
Emit\EditAndContinue\VisualBasicSymbolMatcher.vb (2)
349
SymbolKind.
ErrorType
510
SymbolKind.
ErrorType
Emit\SymbolTranslator.vb (3)
132
If namedTypeSymbol.OriginalDefinition.Kind = SymbolKind.
ErrorType
Then
136
If diagInfo Is Nothing AndAlso namedTypeSymbol.Kind = SymbolKind.
ErrorType
Then
255
Case SymbolKind.NamedType, SymbolKind.
ErrorType
Lowering\SynthesizedSubmissionFields.vb (1)
57
If hostObjectTypeSymbol IsNot Nothing AndAlso hostObjectTypeSymbol.Kind <> SymbolKind.
ErrorType
Then
Semantics\AccessCheck.vb (3)
112
Case SymbolKind.
ErrorType
498
Case SymbolKind.NamedType, SymbolKind.
ErrorType
599
Case SymbolKind.TypeParameter, SymbolKind.
ErrorType
Semantics\Conversions.vb (36)
708
Debug.Assert(destination.Kind <> SymbolKind.
ErrorType
)
876
Debug.Assert(targetType.Kind <> SymbolKind.
ErrorType
)
890
Debug.Assert(targetType.Kind <> SymbolKind.
ErrorType
)
913
Debug.Assert(source.Kind <> SymbolKind.
ErrorType
)
915
Debug.Assert(destination.Kind <> SymbolKind.
ErrorType
)
943
Debug.Assert(destination.Kind <> SymbolKind.
ErrorType
)
1000
If sourceType.Kind <> SymbolKind.
ErrorType
Then
1019
Debug.Assert(destination.Kind <> SymbolKind.
ErrorType
)
1441
Debug.Assert(booleanType.Kind <> SymbolKind.
ErrorType
)
1725
Debug.Assert(source.Kind <> SymbolKind.
ErrorType
)
1726
Debug.Assert(destination.Kind <> SymbolKind.
ErrorType
)
1790
Debug.Assert(destination.Kind <> SymbolKind.
ErrorType
)
1819
If sourceType.Kind <> SymbolKind.
ErrorType
Then
1829
Debug.Assert(source.Kind <> SymbolKind.
ErrorType
)
1831
Debug.Assert(destination.Kind <> SymbolKind.
ErrorType
)
1846
Debug.Assert(destination.Kind <> SymbolKind.
ErrorType
)
1875
If sourceType.Kind <> SymbolKind.
ErrorType
Then
2068
Return If(valueType.Kind = SymbolKind.
ErrorType
, Nothing, valueType)
2087
Debug.Assert(source.Kind <> SymbolKind.
ErrorType
)
2088
Debug.Assert(destination.Kind <> SymbolKind.
ErrorType
)
2111
Debug.Assert(destination.Kind <> SymbolKind.
ErrorType
)
2130
Debug.Assert(sourceType.Kind <> SymbolKind.
ErrorType
)
2196
Debug.Assert(source.Kind <> SymbolKind.
ErrorType
)
2198
Debug.Assert(destination.Kind <> SymbolKind.
ErrorType
)
2470
If dstUnderlying Is destination OrElse dstUnderlying.Kind = SymbolKind.
ErrorType
Then
2486
If dstUnderlyingElement.Kind = SymbolKind.
ErrorType
Then
2492
If arrayElement.Kind = SymbolKind.
ErrorType
Then
3030
If srcElem.Kind = SymbolKind.
ErrorType
OrElse dstElem.Kind = SymbolKind.
ErrorType
Then
3368
If underlying.Kind <> SymbolKind.
ErrorType
Then
3482
If srcUnderlying.Kind = SymbolKind.
ErrorType
OrElse Not srcUnderlying.IsValueType OrElse srcUnderlying.IsNullableType() Then
3490
If dstUnderlying.Kind = SymbolKind.
ErrorType
OrElse Not dstUnderlying.IsValueType OrElse dstUnderlying.IsNullableType() Then
3759
If valueType.Kind <> SymbolKind.
ErrorType
Then
3775
If constraint.Kind = SymbolKind.
ErrorType
Then
3919
If valueType.Kind <> SymbolKind.
ErrorType
AndAlso IsDerivedFrom(valueType, source, useSiteInfo) Then
3940
If constraint.Kind = SymbolKind.
ErrorType
Then
Semantics\OverloadResolution.vb (3)
3385
If targetType.Kind = SymbolKind.
ErrorType
Then
3460
If targetType.Kind = SymbolKind.
ErrorType
Then
5117
Case SymbolKind.NamedType, SymbolKind.
ErrorType
Semantics\TypeInference\TypeArgumentInference.vb (1)
970
If targetType.Kind = SymbolKind.
ErrorType
Then
Symbols\AssemblySymbol.vb (1)
724
Return candidate IsNot Nothing AndAlso (candidate.Kind <> SymbolKind.
ErrorType
OrElse Not (TypeOf candidate Is MissingMetadataTypeSymbol))
Symbols\Attributes\SourceAttributeData.vb (1)
172
If parameterType.Kind <> SymbolKind.NamedType AndAlso parameterType.Kind <> SymbolKind.
ErrorType
Then
Symbols\BaseTypeAnalysis.vb (1)
195
If current Is Nothing OrElse current.Kind = SymbolKind.
ErrorType
Then
Symbols\ConstraintsHelper.vb (2)
770
Case SymbolKind.
ErrorType
801
Case SymbolKind.
ErrorType
Symbols\ErrorTypeSymbol.vb (1)
106
Return SymbolKind.
ErrorType
Symbols\Metadata\PE\MetadataDecoder.vb (2)
202
Case SymbolKind.NamedType, SymbolKind.
ErrorType
277
Debug.Assert(newresult Is result OrElse (newresult.Kind = SymbolKind.
ErrorType
))
Symbols\Metadata\PE\PEModuleSymbol.vb (1)
384
Return candidate.Kind <> SymbolKind.
ErrorType
OrElse Not (TypeOf candidate Is MissingMetadataTypeSymbol)
Symbols\Metadata\PE\SymbolFactory.vb (1)
81
If arg.Key.Kind = SymbolKind.
ErrorType
AndAlso
Symbols\Metadata\PE\TupleTypeDecoder.vb (1)
127
Case SymbolKind.
ErrorType
Symbols\MetadataOrSourceAssemblySymbol.vb (2)
83
(corType.Kind = SymbolKind.
ErrorType
AndAlso
84
_lazySpecialTypes(CInt(typeId)).Kind = SymbolKind.
ErrorType
))
Symbols\Retargeting\RetargetingSymbolTranslator.vb (3)
171
If type.Kind = SymbolKind.
ErrorType
Then
395
If newDefinition.Kind = SymbolKind.
ErrorType
AndAlso Not newDefinition.IsGenericType Then
551
Case SymbolKind.
ErrorType
, SymbolKind.NamedType
Symbols\Source\SourceFile.vb (1)
69
Debug.Assert(Not memberImports.Any(Function(i) i.NamespaceOrType.Kind = SymbolKind.
ErrorType
))
Symbols\Source\SourceMemberContainerTypeSymbol.vb (1)
949
Case SymbolKind.
ErrorType
Symbols\Symbol.vb (2)
251
Case SymbolKind.
ErrorType
620
SymbolKind.
ErrorType
,
Symbols\SymbolExtensions.vb (1)
308
Case SymbolKind.NamedType, SymbolKind.
ErrorType
Symbols\TypeSubstitution.vb (1)
569
((targetGenericDefinition.Kind = SymbolKind.NamedType OrElse targetGenericDefinition.Kind = SymbolKind.
ErrorType
) AndAlso
Symbols\TypeSymbol.vb (1)
378
If Me.Kind <> SymbolKind.
ErrorType
Then
Symbols\TypeSymbolExtensions.vb (1)
158
Return type.Kind = SymbolKind.
ErrorType
Utilities\TypeUnification.vb (2)
106
Case SymbolKind.NamedType, SymbolKind.
ErrorType
243
Case SymbolKind.NamedType, SymbolKind.
ErrorType
Microsoft.CodeAnalysis.VisualBasic.Features (1)
ExtractMethod\Extensions.vb (1)
469
Return type Is Nothing OrElse type.Kind = SymbolKind.
ErrorType
Microsoft.CodeAnalysis.Workspaces (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions_Accessibility.cs (1)
126
case SymbolKind.
ErrorType
:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (3)
127
SymbolKind.
ErrorType
=> NamedTypesAreEquivalent((INamedTypeSymbol)x, (INamedTypeSymbol)y, equivalentTypesWithDifferingAssemblies),
367
if (x.Kind == SymbolKind.
ErrorType
&&
371
Debug.Assert(y.Kind == SymbolKind.
ErrorType
);
Microsoft.Extensions.Options.SourceGeneration (1)
Parser.cs (1)
82
if (modelType.Kind == SymbolKind.
ErrorType
)
Roslyn.Diagnostics.Analyzers (7)
AbstractDoNotCopyValue.cs (1)
1510
case SymbolKind.
ErrorType
:
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (2)
26
internal const SymbolKind AllKinds = SymbolKind.
ErrorType
;
280
case SymbolKind.
ErrorType
:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions_Accessibility.cs (1)
126
case SymbolKind.
ErrorType
:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (3)
127
SymbolKind.
ErrorType
=> NamedTypesAreEquivalent((INamedTypeSymbol)x, (INamedTypeSymbol)y, equivalentTypesWithDifferingAssemblies),
367
if (x.Kind == SymbolKind.
ErrorType
&&
371
Debug.Assert(y.Kind == SymbolKind.
ErrorType
);
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
639
if (method.TypeArguments.Any(static t => t.Kind == SymbolKind.
ErrorType
))