43 references to GetPublicSymbol
Microsoft.CodeAnalysis.CSharp (43)
Compilation\CSharpCompilation.cs (2)
1784
=> GetHostObjectTypeSymbol()?.
GetPublicSymbol
();
4528
get { return DynamicType.
GetPublicSymbol
(); }
Compilation\CSharpSemanticModel.cs (3)
540
return GetSymbolInfoFromSymbolOrNone(GetTypeInfoWorker(parent, cancellationToken).Type.
GetPublicSymbol
());
548
return GetSymbolInfoFromSymbolOrNone(varTypeInfo.Type.
GetPublicSymbol
());
551
return GetSymbolInfoFromSymbolOrNone(GetTypeInfoWorker(parent, cancellationToken).Type.
GetPublicSymbol
());
Operations\CSharpOperationFactory.cs (34)
915
ITypeSymbol containingType = boundDynamicObjectInitializerMember.ReceiverType.
GetPublicSymbol
();
1273
var elementType = element.EnumeratorInfoOpt?.ElementType.
GetPublicSymbol
();
1502
return new BinaryOperation(operatorKind, left, right, isLifted, isChecked, isCompareText, operatorMethod, constrainedToTypeOpt.
GetPublicSymbol
(), unaryOperatorMethod,
1901
info = new ForEachLoopOperationInfo(enumeratorInfoOpt.ElementType.
GetPublicSymbol
(),
2012
ITypeSymbol exceptionType = boundCatchBlock.ExceptionTypeOpt.
GetPublicSymbol
() ?? _semanticModel.Compilation.ObjectType;
2251
return new TupleOperation(elements, naturalType.
GetPublicSymbol
(), _semanticModel, syntax, type, isImplicit);
2522
return new ConstantPatternOperation(value, inputType.
GetPublicSymbol
(), narrowedType.
GetPublicSymbol
(), _semanticModel, syntax, isImplicit);
2533
return new RelationalPatternOperation(operatorKind, value, inputType.
GetPublicSymbol
(), narrowedType.
GetPublicSymbol
(), _semanticModel, syntax, isImplicit);
2544
ITypeSymbol inputType = boundDeclarationPattern.InputType.
GetPublicSymbol
();
2545
ITypeSymbol narrowedType = boundDeclarationPattern.NarrowedType.
GetPublicSymbol
();
2555
ITypeSymbol matchedType = (boundRecursivePattern.DeclaredType?.Type ?? boundRecursivePattern.InputType.StrippedType()).
GetPublicSymbol
();
2568
boundRecursivePattern.InputType.
GetPublicSymbol
(),
2569
boundRecursivePattern.NarrowedType.
GetPublicSymbol
(),
2582
boundITuplePattern.InputType.StrippedType().
GetPublicSymbol
(),
2587
boundITuplePattern.InputType.
GetPublicSymbol
(),
2588
boundITuplePattern.NarrowedType.
GetPublicSymbol
(),
2597
matchedType: boundTypePattern.NarrowedType.
GetPublicSymbol
(),
2598
inputType: boundTypePattern.InputType.
GetPublicSymbol
(),
2599
narrowedType: boundTypePattern.NarrowedType.
GetPublicSymbol
(),
2611
inputType: boundNode.InputType.
GetPublicSymbol
(),
2612
narrowedType: boundNode.NarrowedType.
GetPublicSymbol
(),
2625
inputType: boundNode.InputType.
GetPublicSymbol
(),
2626
narrowedType: boundNode.NarrowedType.
GetPublicSymbol
(),
2636
boundNegatedPattern.InputType.
GetPublicSymbol
(),
2637
boundNegatedPattern.NarrowedType.
GetPublicSymbol
(),
2676
boundBinaryPattern.InputType.
GetPublicSymbol
(),
2677
boundBinaryPattern.NarrowedType.
GetPublicSymbol
(),
2845
inputType: boundNode.InputType.
GetPublicSymbol
(),
2846
narrowedType: boundNode.NarrowedType.
GetPublicSymbol
(),
2902
createReceiver(), _semanticModel, nameSyntax, type: field.Type.
GetPublicSymbol
(), constantValue, isImplicit: false);
2908
createReceiver(), _semanticModel, nameSyntax, type: property.Type.
GetPublicSymbol
(), isImplicit: false);
2928
=> member.Receiver?.Type.StrippedType().
GetPublicSymbol
() ?? matchedType;
Operations\CSharpOperationFactory_Methods.cs (2)
34
new InstanceReferenceOperation(InstanceReferenceKind.ImplicitReceiver, _semanticModel, syntax, type.
GetPublicSymbol
(), isImplicit: true);
447
type: property.Type.
GetPublicSymbol
(),
Symbols\PublicModel\MethodSymbol.cs (1)
200
GetPublicSymbol
();
Symbols\PublicModel\TypeSymbol.cs (1)
82
return UnderlyingTypeSymbol.OriginalDefinition.
GetPublicSymbol
();