9 references to CreateOptional
Microsoft.CodeAnalysis.CSharp (9)
Compilation\CSharpCompilation.cs (1)
4102
return CSharpCustomModifier.
CreateOptional
(internalType);
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (2)
462
CSharpCustomModifier.
CreateOptional
(type) :
953
CSharpCustomModifier.
CreateOptional
(translatedType) :
Symbols\AbstractTypeMap.cs (2)
150
builder.Add(customModifiers[i].IsOptional ? CSharpCustomModifier.
CreateOptional
(substituted) : CSharpCustomModifier.CreateRequired(substituted));
158
builder.Add(customModifiers[i].IsOptional ? CSharpCustomModifier.
CreateOptional
(substituted) : CSharpCustomModifier.CreateRequired(substituted));
Symbols\CustomModifier.cs (1)
70
return customModifier.IsOptional ?
CreateOptional
(modifier) : CreateRequired(modifier);
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (1)
226
return CSharpCustomModifier.
CreateOptional
(specifierType);
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
732
CSharpCustomModifier.
CreateOptional
(newModifierSymbol) :
Symbols\Source\ParameterHelpers.cs (1)
1007
return ImmutableArray.Create(CSharpCustomModifier.
CreateOptional
(requiresLocationType));