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