42 references to GetPublicSymbol
Microsoft.CodeAnalysis.CSharp (42)
Compilation\CSharpCompilation.cs (2)
1867
=> GetHostObjectTypeSymbol()?.
GetPublicSymbol
();
4740
get { return DynamicType.
GetPublicSymbol
(); }
Compilation\CSharpSemanticModel.cs (3)
544
return GetSymbolInfoFromSymbolOrNone(GetTypeInfoWorker(parent, cancellationToken).Type.
GetPublicSymbol
());
552
return GetSymbolInfoFromSymbolOrNone(varTypeInfo.Type.
GetPublicSymbol
());
555
return GetSymbolInfoFromSymbolOrNone(GetTypeInfoWorker(parent, cancellationToken).Type.
GetPublicSymbol
());
Operations\CSharpOperationFactory_Methods.cs (2)
34
new InstanceReferenceOperation(InstanceReferenceKind.ImplicitReceiver, _semanticModel, syntax, type.
GetPublicSymbol
(), isImplicit: true);
447
type: property.Type.
GetPublicSymbol
(),
Operations\CSharpOperationFactory.cs (34)
930
ITypeSymbol containingType = boundDynamicObjectInitializerMember.ReceiverType.
GetPublicSymbol
();
1367
var elementType = element.EnumeratorInfoOpt?.ElementType.
GetPublicSymbol
();
1596
return new BinaryOperation(operatorKind, left, right, isLifted, isChecked, isCompareText, operatorMethod, constrainedToTypeOpt.
GetPublicSymbol
(), unaryOperatorMethod,
1986
info = new ForEachLoopOperationInfo(enumeratorInfoOpt.ElementType.
GetPublicSymbol
(),
2097
ITypeSymbol exceptionType = boundCatchBlock.ExceptionTypeOpt.
GetPublicSymbol
() ?? _semanticModel.Compilation.ObjectType;
2336
return new TupleOperation(elements, naturalType.
GetPublicSymbol
(), _semanticModel, syntax, type, isImplicit);
2607
return new ConstantPatternOperation(value, inputType.
GetPublicSymbol
(), narrowedType.
GetPublicSymbol
(), _semanticModel, syntax, isImplicit);
2618
return new RelationalPatternOperation(operatorKind, value, inputType.
GetPublicSymbol
(), narrowedType.
GetPublicSymbol
(), _semanticModel, syntax, isImplicit);
2629
ITypeSymbol inputType = boundDeclarationPattern.InputType.
GetPublicSymbol
();
2630
ITypeSymbol narrowedType = boundDeclarationPattern.NarrowedType.
GetPublicSymbol
();
2640
ITypeSymbol matchedType = (boundRecursivePattern.DeclaredType?.Type ?? boundRecursivePattern.InputType.StrippedType()).
GetPublicSymbol
();
2653
boundRecursivePattern.InputType.
GetPublicSymbol
(),
2654
boundRecursivePattern.NarrowedType.
GetPublicSymbol
(),
2667
boundITuplePattern.InputType.StrippedType().
GetPublicSymbol
(),
2672
boundITuplePattern.InputType.
GetPublicSymbol
(),
2673
boundITuplePattern.NarrowedType.
GetPublicSymbol
(),
2682
matchedType: boundTypePattern.NarrowedType.
GetPublicSymbol
(),
2683
inputType: boundTypePattern.InputType.
GetPublicSymbol
(),
2684
narrowedType: boundTypePattern.NarrowedType.
GetPublicSymbol
(),
2696
inputType: boundNode.InputType.
GetPublicSymbol
(),
2697
narrowedType: boundNode.NarrowedType.
GetPublicSymbol
(),
2710
inputType: boundNode.InputType.
GetPublicSymbol
(),
2711
narrowedType: boundNode.NarrowedType.
GetPublicSymbol
(),
2721
boundNegatedPattern.InputType.
GetPublicSymbol
(),
2722
boundNegatedPattern.NarrowedType.
GetPublicSymbol
(),
2761
boundBinaryPattern.InputType.
GetPublicSymbol
(),
2762
boundBinaryPattern.NarrowedType.
GetPublicSymbol
(),
2930
inputType: boundNode.InputType.
GetPublicSymbol
(),
2931
narrowedType: boundNode.NarrowedType.
GetPublicSymbol
(),
2987
createReceiver(), _semanticModel, nameSyntax, type: field.Type.
GetPublicSymbol
(), constantValue, isImplicit: false);
2993
createReceiver(), _semanticModel, nameSyntax, type: property.Type.
GetPublicSymbol
(), isImplicit: false);
3013
=> member.Receiver?.Type.StrippedType().
GetPublicSymbol
() ?? matchedType;
Symbols\PublicModel\TypeSymbol.cs (1)
91
return UnderlyingTypeSymbol.OriginalDefinition.
GetPublicSymbol
();