17 instantiations of ExtendedErrorTypeSymbol
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Expressions.cs (4)
227return new ExtendedErrorTypeSymbol(this.Compilation, name, arity: 0, errorInfo: null, unreported: false); 1968type = new ExtendedErrorTypeSymbol( 2031type = new ExtendedErrorTypeSymbol( 2047type = new ExtendedErrorTypeSymbol(
Binder\Binder_Invocation.cs (2)
1942var returnType = GetCommonTypeOrReturnType(methods) ?? new ExtendedErrorTypeSymbol(this.Compilation, string.Empty, arity: 0, errorInfo: null); 2172TypeSymbol returnType = new ExtendedErrorTypeSymbol(this.Compilation, string.Empty, arity: 0, errorInfo: null);
Binder\Binder_Symbols.cs (2)
834return TypeWithAnnotations.Create(new ExtendedErrorTypeSymbol(qualifierOpt ?? this.Compilation.Assembly.GlobalNamespace, string.Empty, arity: 0, errorInfo: null)); 1307type = new ExtendedErrorTypeSymbol(
Binder\DecisionDagBuilder.cs (1)
729return new ExtendedErrorTypeSymbol(this._compilation, name, arity: 0, errorInfo: null, unreported: false);
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (1)
467_fixedResults[i] = (TypeWithAnnotations.Create(new ExtendedErrorTypeSymbol(_constructedContainingTypeOfMethod, _methodTypeParameters[i].Name, 0, null, false)), false);
Compilation\CSharpCompilation.cs (1)
325return new ExtendedErrorTypeSymbol(
Lowering\LocalRewriter\LocalRewriter.cs (1)
631TypeSymbol returnType = new ExtendedErrorTypeSymbol(compilation: compilation, name: descriptor.Name, errorInfo: null, arity: descriptor.Arity);
Symbols\ExtendedErrorTypeSymbol.cs (1)
85new ExtendedErrorTypeSymbol(_containingSymbol, _name, _arity, _errorInfo, true, VariableUsedBeforeDeclaration, _candidateSymbols, _resultKind);
Symbols\ReducedExtensionMethodSymbol.cs (1)
145var otherArgumentType = new ExtendedErrorTypeSymbol(errorNamespace, name: string.Empty, arity: 0, errorInfo: null, unreported: false);
Symbols\Source\LambdaSymbol.cs (1)
373type = TypeWithAnnotations.Create(new ExtendedErrorTypeSymbol(compilation, name: string.Empty, arity: 0, errorInfo: null));
Symbols\Source\LocalFunctionOrSourceMemberMethodSymbol.cs (1)
33elementType = TypeWithAnnotations.Create(new ExtendedErrorTypeSymbol(DeclaringCompilation, name: "", arity: 0, errorInfo: null, unreported: false));
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
227return new ExtendedErrorTypeSymbol(compilation, name, arity: 1, diagnosticInfo, unreported: true);
21 references to ExtendedErrorTypeSymbol
Microsoft.CodeAnalysis.CSharp (21)
Binder\Binder_Lookup.cs (2)
306var error = new ExtendedErrorTypeSymbol((NamespaceOrTypeSymbol)null, name, arity, diagInfo, unreported: true); 840var error = new ExtendedErrorTypeSymbol(this.Compilation, name, arity, diagInfo, unreported: true);
Binder\Binder_Symbols.cs (3)
865var errorResult = CreateErrorIfLookupOnTypeParameter(node.Parent, qualifierOpt, identifierValueText, 0, diagnostics); 1268var errorResult = CreateErrorIfLookupOnTypeParameter(node.Parent, qualifierOpt, plainName, arity, diagnostics); 1320private ExtendedErrorTypeSymbol CreateErrorIfLookupOnTypeParameter(
Binder\InContainerBinder.cs (1)
121var error = new ExtendedErrorTypeSymbol((NamespaceOrTypeSymbol)null, name, arity, diagInfo, unreported: true);
Compilation\CSharpCompilation.cs (1)
1764var errorType = new ExtendedErrorTypeSymbol(this, type.Name, 0, CreateReflectionTypeNotFoundError(type));
Compilation\CSharpSemanticModel.cs (1)
2065if (type is ExtendedErrorTypeSymbol extended && extended.VariableUsedBeforeDeclaration)
Symbols\ExtendedErrorTypeSymbol.cs (7)
82internal ExtendedErrorTypeSymbol AsUnreported() 234ExtendedErrorTypeSymbol? oldError = oldSymbol.OriginalDefinition as ExtendedErrorTypeSymbol; 262ExtendedErrorTypeSymbol? oldError = oldSymbol.OriginalDefinition as ExtendedErrorTypeSymbol; 293var other = t2 as ExtendedErrorTypeSymbol;
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
1816private static ExtendedErrorTypeSymbol CyclicInheritanceError(TypeSymbol declaredBase)
Symbols\ReducedExtensionMethodSymbol.cs (1)
145var otherArgumentType = new ExtendedErrorTypeSymbol(errorNamespace, name: string.Empty, arity: 0, errorInfo: null, unreported: false);
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
267private static ExtendedErrorTypeSymbol CyclicInheritanceError(TypeSymbol declaredBase)
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
822(type as ExtendedErrorTypeSymbol)?.AsUnreported() ?? // preserve diagnostic information if possible
Symbols\TypeSymbolExtensions.cs (2)
1301var result = ExtendedErrorTypeSymbol.ExtractNonErrorType(type); 1312return ExtendedErrorTypeSymbol.ExtractNonErrorTypeKind(type);