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