13 references to From
Microsoft.DotNet.ILAssembler (13)
Actions\GrammarActions.Conversions.cs (3)
88var location = Location.From(context.Start, _documents); 136Location.From(token, _documents))); 151Location.From(token, _documents)));
Actions\GrammarActions.CustomAttributes.Actions.cs (2)
181attribute.Location = Location.From(location, _documents); 208typedefAttribute.Location = Location.From(location, _documents);
Actions\GrammarActions.Instructions.cs (3)
149_options.Optimize, Location.From(opcodeToken, _documents)); 164_options.Optimize, Location.From(opcodeToken, _documents)); 368method.Definition.MethodBody.Switch(labels, Location.From(builder.OpcodeToken, _documents));
Actions\GrammarActions.Literals.cs (2)
194Location.From(token, _documents))); 233Location.From(token, _documents)));
Actions\GrammarActions.MethodBodies.ExceptionHandling.cs (1)
102Location location = Location.From(context.Start, _documents);
Actions\GrammarActions.MethodBodies.Locals.cs (1)
230Location.From(nameToken, _documents)));
Actions\GrammarActions.Types.Headers.cs (1)
185Location.From(location, _documents)));